diff options
Diffstat (limited to 'lib9p')
-rw-r--r-- | lib9p/srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib9p/srv.c b/lib9p/srv.c index e4212e5..608d470 100644 --- a/lib9p/srv.c +++ b/lib9p/srv.c @@ -6,7 +6,7 @@ #include <alloca.h> #include <inttypes.h> /* for PRI* */ -#include <stdio.h> /* for fprintf(), stderr */ +#include <stdio.h> /* for printf() */ #include <string.h> /* for strerror() */ #include <libcr/coroutine.h> @@ -104,7 +104,7 @@ struct _lib9p_srv_req { /* base utilities *************************************************************/ #define nonrespond_errorf(fmt, ...) \ - fprintf(stderr, "error: " fmt "\n" __VA_OPT__(,) __VA_ARGS__) + printf("error: " fmt "\n" __VA_OPT__(,) __VA_ARGS__) static uint32_t rerror_overhead_for_version(enum lib9p_version version, uint8_t *scratch) { |