summaryrefslogtreecommitdiff
path: root/userspace/err.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-02 03:53:32 +0200
committerMiguel <m.i@gmx.at>2018-09-02 03:53:32 +0200
commitab6b44f5197e4c6c19f225f909035385d37883b4 (patch)
tree2c07e5bc65cf8e19a6433a7c0c5135eabb56a59c /userspace/err.c
parentc459fab7662eaf45df9994c828065b9fc8d4a8ac (diff)
foolsnake showcasing multithreading and our console
Diffstat (limited to 'userspace/err.c')
-rw-r--r--userspace/err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/err.c b/userspace/err.c
index 7a33e69..8e5d819 100644
--- a/userspace/err.c
+++ b/userspace/err.c
@@ -1,6 +1,6 @@
#include <stdio.h>
-int main()
+int main(int argc, char **argv)
{
char buf[]="This is a line written to stderr.\n";
int l=fwrite(buf,sizeof(char),strlen(buf),stderr); // write stderr;