projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab4d88
)
Add a "Rebooting ..." message to the mtd util
author
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 08:54:37 +0000
(08:54 +0000)
committer
mbm
<mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 May 2007 08:54:37 +0000
(08:54 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7159
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mtd/src/mtd.c
patch
|
blob
|
history
diff --git
a/package/mtd/src/mtd.c
b/package/mtd/src/mtd.c
index
1d84816
..
9025240
100644
(file)
--- 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;
This page took
0.028474 seconds
and
4
git commands to generate.