From e221677fe1415d716eda5c85279ce7b605bfb52f Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 22 Aug 2016 16:12:04 +0200 Subject: [PATCH] extending example by writing something in /tmp/test.txt --- hermit/usr/tests/hello.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hermit/usr/tests/hello.c b/hermit/usr/tests/hello.c index b074a1a4c..fdb408cb5 100644 --- a/hermit/usr/tests/hello.c +++ b/hermit/usr/tests/hello.c @@ -68,6 +68,7 @@ int main(int argc, char** argv) file = fopen("/tmp/test.txt", "w"); if (file) { + fprintf(file, "Hello World!!!\n"); fclose(file); } else fprintf(stderr, "Unable to open file /tmp/test.txt\n");