aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-04-29 18:06:08 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-04-29 18:06:08 +0000
commit07c77d857a3917c4a07b497066e4e3be39d51a59 (patch)
tree41fdf3b12ffbd412ccd15f26e83f2fe89fdaa992 /usr.sbin
parent2908ba6ad76b6b2ed8bee6ce1a8c8f8f6d2ff98d (diff)
downloadsrc-07c77d857a3917c4a07b497066e4e3be39d51a59.tar.gz
src-07c77d857a3917c4a07b497066e4e3be39d51a59.zip
Yikes - bogon crept into the NFS setup menu.
Notes
Notes: svn path=/head/; revision=15450
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/config.c4
-rw-r--r--usr.sbin/sade/menus.c4
-rw-r--r--usr.sbin/sysinstall/config.c4
-rw-r--r--usr.sbin/sysinstall/menus.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c
index f4841973dba4..d462636f66ec 100644
--- a/usr.sbin/sade/config.c
+++ b/usr.sbin/sade/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.28 1996/04/28 20:53:52 jkh Exp $
+ * $Id: config.c,v 1.29 1996/04/28 22:54:15 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -595,7 +595,7 @@ configNFSServer(dialogMenuItem *self)
vsystem("echo '#' >> /etc/exports");
vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
vsystem("echo >> /etc/exports");
- vsprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
+ sprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
dialog_clear();
systemExecute(cmd);
restorescr(w);
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c
index c823cc8b83b5..408dde2e145d 100644
--- a/usr.sbin/sade/menus.c
+++ b/usr.sbin/sade/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.56 1996/04/28 03:27:15 jkh Exp $
+ * $Id: menus.c,v 1.57 1996/04/28 22:54:21 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -937,7 +937,7 @@ software not provided in the base distributions.",
};
DMenu MenuNetworking = {
- DMENU_CHECKLIST_TYPE,
+ DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
"Network Services Menu",
"You may have already configured one network device (and the other\n\
various hostname/gateway/name server parameters) in the process\n\
diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c
index f4841973dba4..d462636f66ec 100644
--- a/usr.sbin/sysinstall/config.c
+++ b/usr.sbin/sysinstall/config.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: config.c,v 1.28 1996/04/28 20:53:52 jkh Exp $
+ * $Id: config.c,v 1.29 1996/04/28 22:54:15 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -595,7 +595,7 @@ configNFSServer(dialogMenuItem *self)
vsystem("echo '#' >> /etc/exports");
vsystem("echo '# You should replace these lines with your actual exported filesystems.' >> /etc/exports");
vsystem("echo >> /etc/exports");
- vsprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
+ sprintf(cmd, "%s /etc/exports", variable_get(VAR_EDITOR));
dialog_clear();
systemExecute(cmd);
restorescr(w);
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index c823cc8b83b5..408dde2e145d 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/sysinstall/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.56 1996/04/28 03:27:15 jkh Exp $
+ * $Id: menus.c,v 1.57 1996/04/28 22:54:21 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -937,7 +937,7 @@ software not provided in the base distributions.",
};
DMenu MenuNetworking = {
- DMENU_CHECKLIST_TYPE,
+ DMENU_CHECKLIST_TYPE | DMENU_SELECTION_RETURNS,
"Network Services Menu",
"You may have already configured one network device (and the other\n\
various hostname/gateway/name server parameters) in the process\n\