]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't beep (print bell characters) on rebooting
authorBen Gras <ben@minix3.org>
Wed, 19 Oct 2005 10:36:10 +0000 (10:36 +0000)
committerBen Gras <ben@minix3.org>
Wed, 19 Oct 2005 10:36:10 +0000 (10:36 +0000)
commands/reboot/sh_wall.c

index 77e9e98630da159fcf27783de36ebd96a8915556..dbaaeee5db78d20e778b9fefa3b5fd22ecd8fe63 100755 (executable)
@@ -46,7 +46,7 @@ char *extra;                  /* If non-nil, why is the shutdown */
 
   time(&now);
   if (uname(&utsname) != 0) strcpy(utsname.nodename, "?");
-  sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\007\007\007\r\n",
+  sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\r\n",
                ourname, utsname.nodename, ourtty, ctime(&now));
 
   crnlcat(message, when);