diff options
Diffstat (limited to 'sys/stand/boot/cmd.h')
-rw-r--r-- | sys/stand/boot/cmd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.h b/sys/stand/boot/cmd.h index d123530964c..610607f03ee 100644 --- a/sys/stand/boot/cmd.h +++ b/sys/stand/boot/cmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.h,v 1.15 2004/06/24 22:10:18 tom Exp $ */ +/* $OpenBSD: cmd.h,v 1.16 2007/06/13 02:17:32 drahn Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -28,6 +28,7 @@ */ #define CMD_BUFF_SIZE 133 +#define BOOTDEVLEN 1024 struct cmd_table { char *cmd_name; @@ -40,7 +41,7 @@ struct cmd_table { }; struct cmd_state { - char bootdev[16]; /* device */ + char bootdev[BOOTDEVLEN]; /* device */ char image[MAXPATHLEN - 16]; /* image */ int boothowto; /* howto */ char *conf; /* /etc/boot.conf normally */ |