summaryrefslogtreecommitdiff
path: root/src/user/app/shell/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/shell/shell.h')
-rw-r--r--src/user/app/shell/shell.h2
1 files changed, 2 insertions, 0 deletions
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 <stdbool.h>
#include <stddef.h>
+#define eprintf(fmt, ...) fprintf(stderr, "sh: "fmt"\n" __VA_OPT__(,) __VA_ARGS__)
+
struct redir {
const char *stdout;
bool append;