From ae0042289e3ddbe6653d0a3682bd07b034e30219 Mon Sep 17 00:00:00 2001 From: Marian Ohligs Date: Thu, 15 Sep 2011 23:37:38 +0200 Subject: [PATCH] - change in hello to show all 34 chars (instead of 30) --- newlib/examples/hello.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newlib/examples/hello.c b/newlib/examples/hello.c index 99b6b5e4..98aa17d1 100644 --- a/newlib/examples/hello.c +++ b/newlib/examples/hello.c @@ -46,7 +46,7 @@ int main(int argc, char** argv) { char* teststr = malloc(sizeof(char)*100); int testfile = open("/bin/test.txt", O_CREAT | O_EXCL, "wr"); - write(testfile, "hello in new file '/bin/test.txt'", 30); + write(testfile, "hello in new file '/bin/test.txt'", 34); lseek(testfile, 0, SEEK_SET); read(testfile, teststr, 100); close(testfile);