From b26399ad055aae9ef4b01694967515235568cd85 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 30 Jul 2022 14:52:22 +0200 Subject: user: stderr --- src/user/app/shell/shell.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/user/app/shell/shell.h') diff --git a/src/user/app/shell/shell.h b/src/user/app/shell/shell.h index 4c7eeb3..5097e00 100644 --- a/src/user/app/shell/shell.h +++ b/src/user/app/shell/shell.h @@ -2,6 +2,8 @@ #include #include +#define eprintf(fmt, ...) fprintf(stderr, "sh: "fmt"\n" __VA_OPT__(,) __VA_ARGS__) + struct redir { const char *stdout; bool append; -- cgit v1.2.3