From dd17c39a82bd4f2e9b273b95f5442c6eaa934c1c Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Thu, 1 Aug 1996 20:18:45 +0000 Subject: *** empty log message *** --- boot/ChangeLog | 5 +++++ boot/boot.c | 2 +- boot/boot_script.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'boot') 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 + + * 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 * 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); -- cgit v1.2.3