diff --git a/newlib/examples/hello.c b/newlib/examples/hello.c index 8ef0d79d..ad8ff40d 100644 --- a/newlib/examples/hello.c +++ b/newlib/examples/hello.c @@ -68,7 +68,7 @@ int main(int argc, char** argv) exit(1); } testdirent = readdir(testdir); - printf("1. Dirent: %s", testdirent->d_name); + printf("1. Dirent: %s\n", testdirent->d_name); closedir(testdir); return errno;