projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to get the kernel printfs out before console starts reboot
[unix-history]
/
usr
/
src
/
games
/
sail
/
pl_4.c
diff --git
a/usr/src/games/sail/pl_4.c
b/usr/src/games/sail/pl_4.c
index
2091bcc
..
e233514
100644
(file)
--- a/
usr/src/games/sail/pl_4.c
+++ b/
usr/src/games/sail/pl_4.c
@@
-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("Mes
s
age? ", 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);
}