From: Ben Gras Date: Wed, 19 Oct 2005 10:36:10 +0000 (+0000) Subject: Don't beep (print bell characters) on rebooting X-Git-Tag: v3.1.2a~606 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=7852300ec2e19c8a07ff4a58c48cfb0addb58269;p=minix.git Don't beep (print bell characters) on rebooting --- diff --git a/commands/reboot/sh_wall.c b/commands/reboot/sh_wall.c index 77e9e9863..dbaaeee5d 100755 --- a/commands/reboot/sh_wall.c +++ b/commands/reboot/sh_wall.c @@ -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);