try to get the kernel printfs out before console starts reboot
[unix-history] / usr / src / games / sail / pl_4.c
index 2091bcc..e233514 100644 (file)
@@ -1,6 +1,12 @@
+/*
+ * Copyright (c) 1983 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ */
+
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)pl_4.c      2.1 83/10/31";
-#endif
+static char sccsid[] = "@(#)pl_4.c     5.1 (Berkeley) %G%";
+#endif not lint
 
 #include "player.h"
 
 
 #include "player.h"
 
@@ -36,10 +42,11 @@ acceptsignal()
        register char *p = buf;
 
        *p++ = '"';
        register char *p = buf;
 
        *p++ = '"';
-       sgetstr("Mesage? ", p, sizeof buf - 2);
+       sgetstr("Message? ", p, sizeof buf - 2);
        while (*p++)
                ;
        p[-1] = '"';
        while (*p++)
                ;
        p[-1] = '"';
+       *p = 0;
        Write(W_SIGNAL, ms, 1, (int)buf, 0, 0, 0);
 }
 
        Write(W_SIGNAL, ms, 1, (int)buf, 0, 0, 0);
 }