aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/mtd/src')
-rw-r--r--package/mtd/src/mtd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c
index 1d84816751..9025240e1e 100644
--- a/package/mtd/src/mtd.c
+++ b/package/mtd/src/mtd.c
@@ -456,7 +456,8 @@ int main (int argc, char **argv)
sync();
if (boot) {
- fflush(stdout);
+ fprintf(stderr, "Rebooting ...\n");
+ fflush(stderr);
syscall(SYS_reboot,LINUX_REBOOT_MAGIC1,LINUX_REBOOT_MAGIC2,LINUX_REBOOT_CMD_RESTART,NULL);
}
return 0;