summaryrefslogtreecommitdiff
path: root/src/libc/compat.c
diff options
context:
space:
mode:
authordzwdz2023-08-30 00:03:43 +0200
committerdzwdz2023-08-30 00:03:43 +0200
commitcf7877737ff5032f8bad59d57b048f66c4813b5b (patch)
treeec9c66772331594c30b34062a2cb0f72719d6f6e /src/libc/compat.c
parentf71af249cfb9ca9eb0832cc46437b2c5cb7bb217 (diff)
style: get rid of eprintf
Diffstat (limited to 'src/libc/compat.c')
-rw-r--r--src/libc/compat.c4
1 files changed, 1 insertions, 3 deletions
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 <stdio.h>
#include <camellia/compat.h>
-#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);