summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1996-08-01 20:18:45 +0000
committerThomas Bushnell <thomas@gnu.org>1996-08-01 20:18:45 +0000
commitdd17c39a82bd4f2e9b273b95f5442c6eaa934c1c (patch)
treef68d7f3dd811e13e404d873948b09d38c5954fdb /boot
parent8959f443bf76c39a1734c450535f3c8f76aa6520 (diff)
*** empty log message ***
Diffstat (limited to 'boot')
-rw-r--r--boot/ChangeLog5
-rw-r--r--boot/boot.c2
-rw-r--r--boot/boot_script.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog
index a19e0eee..19d13d51 100644
--- a/boot/ChangeLog
+++ b/boot/ChangeLog
@@ -1,3 +1,8 @@
+Thu Aug 1 14:38:38 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
+
+ * boot_script.h (safe_gets): Declare second parm as type `int'.
+ * boot.c (safe_gets): Likewise.
+
Sun Jul 7 21:10:08 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
* boot.c (S_io_reauthenticate): Don't use unsafe MOVE_SEND in
diff --git a/boot/boot.c b/boot/boot.c
index 2a6cf848..dcf3bccc 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -123,7 +123,7 @@ char *bootdevice = "sd0a";
void set_mach_stack_args ();
-void safe_gets (char *buf, size_t buf_len)
+void safe_gets (char *buf, int buf_len)
{
fgets (buf, buf_len, stdin);
}
diff --git a/boot/boot_script.h b/boot/boot_script.h
index e32837e8..d2db1a14 100644
--- a/boot/boot_script.h
+++ b/boot/boot_script.h
@@ -87,4 +87,4 @@ int boot_script_define_function (const char *name, int ret_type,
char *boot_script_error_string (int err);
-void safe_gets (char *, size_t);
+void safe_gets (char *, int);