diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/ChangeLog | 5 | ||||
-rw-r--r-- | boot/boot.c | 2 | ||||
-rw-r--r-- | boot/boot_script.h | 2 |
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); |