From cf7877737ff5032f8bad59d57b048f66c4813b5b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 30 Aug 2023 00:03:43 +0200 Subject: style: get rid of eprintf --- src/libc/compat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libc') diff --git a/src/libc/compat.c b/src/libc/compat.c index fdf24bb..c7aab63 100644 --- a/src/libc/compat.c +++ b/src/libc/compat.c @@ -2,12 +2,10 @@ #include #include -#define eprintf(fmt, ...) fprintf(stderr, "user/lib/compat: "fmt"\n" __VA_OPT__(,) __VA_ARGS__) - static hid_t h = -1; long c0_fs_wait(char *buf, long len, struct ufs_request *res) { if (h != -1) { - eprintf("didn't respond to request!"); + fprintf(stderr, "c0_fs_wait: proc didn't respond to request\n"); c0_fs_respond(NULL, -1, 0); } h = _sys_fs_wait(buf, len, res); -- cgit v1.2.3