From f6e783ea4533b4a1a8b49766db86348d8c768004 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 11 Oct 2022 20:13:00 +0200 Subject: [PATCH] init: do not show 'read n bytes' when printing version that was to debug why reading /dev/version returned 'versionmoon 0.10-' instead of 'moon 0.10-fffffff' it works now, so... --- apps/src/init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/src/init.c b/apps/src/init.c index 564fe74e..4cbf51d6 100644 --- a/apps/src/init.c +++ b/apps/src/init.c @@ -26,8 +26,6 @@ int print_version() return 1; } - printf("Read %zd bytes\n", nread); - version[nread] = 0; if (fclose(verfile) < 0)