summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorjwd <jwd@FreeBSD.org>2003-02-27 03:57:17 +0000
committerjwd <jwd@FreeBSD.org>2003-02-27 03:57:17 +0000
commit1269b76675254ee22c7e0935d89bb251c990cfc0 (patch)
tree3e196a13512839af251c9d1e74476c61a20df87c /usr.sbin/sysinstall/sysinstall.h
parentd2eb4692a27e5b54b560eab35d2d7fef786d129f (diff)
downloadFreeBSD-src-1269b76675254ee22c7e0935d89bb251c990cfc0.zip
FreeBSD-src-1269b76675254ee22c7e0935d89bb251c990cfc0.tar.gz
- Increase the maximum device name length.
- Actually check that the entered device name does not exceed the maximum device name length. PR: misc/18466 MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index 68a16c9..60a6590 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -72,7 +72,7 @@
#endif
/* device limits */
-#define DEV_NAME_MAX 64 /* The maximum length of a device name */
+#define DEV_NAME_MAX 128 /* The maximum length of a device name */
#define DEV_MAX 100 /* The maximum number of devices we'll deal with */
#define INTERFACE_MAX 50 /* Maximum number of network interfaces we'll deal with */
#define IO_ERROR -2 /* Status code for I/O error rather than normal EOF */
OpenPOWER on IntegriCloud