summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-06 08:45:20 +0000
committerjkh <jkh@FreeBSD.org>1999-02-06 08:45:20 +0000
commit739e785ca54f0444bce978c97c207da39e264826 (patch)
tree1f62f3e58c633390bb65bfbb7b09f6ca3c4220a4 /usr.sbin
parentc95ad30d4da55eaaa6eca1a2396c9fa3b91990dd (diff)
downloadFreeBSD-src-739e785ca54f0444bce978c97c207da39e264826.zip
FreeBSD-src-739e785ca54f0444bce978c97c207da39e264826.tar.gz
Ack! Correct a typo which crept into here and reshuffle the index back
into alphabetical order.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/dmenu.c4
-rw-r--r--usr.sbin/sade/menus.c4
-rw-r--r--usr.sbin/sysinstall/dmenu.c4
-rw-r--r--usr.sbin/sysinstall/menus.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/sade/dmenu.c b/usr.sbin/sade/dmenu.c
index 28e1f3a..f83fada 100644
--- a/usr.sbin/sade/dmenu.c
+++ b/usr.sbin/sade/dmenu.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: dmenu.c,v 1.38 1999/02/05 22:15:48 jkh Exp $
+ * $Id: dmenu.c,v 1.39 1999/02/05 22:25:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -88,7 +88,7 @@ dmenuExit(dialogMenuItem *tmp)
int
dmenuSetVariable(dialogMenuItem *tmp)
{
- variable_set((char *)tmp->data, *tmp != '_');
+ variable_set((char *)tmp->data, *((char *)tmp->data) != '_');
return DITEM_SUCCESS;
}
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c
index fe75fa0..20d5471 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.184 1999/02/05 09:54:59 jkh Exp $
+ * $Id: menus.c,v 1.185 1999/02/05 22:15:50 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -239,11 +239,11 @@ DMenu MenuIndex = {
{ "Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
{ "Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
{ "Doc, HTML", "The HTML documentation menu.", NULL, docBrowser },
+ { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
{ "Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell },
{ "Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor },
{ "Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit },
{ "FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP },
- { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
{ "Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
{ "HTML Docs", "The HTML documentation menu", NULL, docBrowser },
{ "Install, Novice", "A novice system installation.", NULL, installNovice },
diff --git a/usr.sbin/sysinstall/dmenu.c b/usr.sbin/sysinstall/dmenu.c
index 28e1f3a..f83fada 100644
--- a/usr.sbin/sysinstall/dmenu.c
+++ b/usr.sbin/sysinstall/dmenu.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: dmenu.c,v 1.38 1999/02/05 22:15:48 jkh Exp $
+ * $Id: dmenu.c,v 1.39 1999/02/05 22:25:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -88,7 +88,7 @@ dmenuExit(dialogMenuItem *tmp)
int
dmenuSetVariable(dialogMenuItem *tmp)
{
- variable_set((char *)tmp->data, *tmp != '_');
+ variable_set((char *)tmp->data, *((char *)tmp->data) != '_');
return DITEM_SUCCESS;
}
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index fe75fa0..20d5471 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.184 1999/02/05 09:54:59 jkh Exp $
+ * $Id: menus.c,v 1.185 1999/02/05 22:15:50 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -239,11 +239,11 @@ DMenu MenuIndex = {
{ "Doc, Copyright", "The distribution copyright notices.", NULL, dmenuDisplayFile, NULL, "COPYRIGHT" },
{ "Doc, Release", "The distribution release notes.", NULL, dmenuDisplayFile, NULL, "RELNOTES" },
{ "Doc, HTML", "The HTML documentation menu.", NULL, docBrowser },
+ { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
{ "Emergency shell", "Start an Emergency Holographic shell.", NULL, installFixitHoloShell },
{ "Fdisk", "The disk Partition Editor", NULL, diskPartitionEditor },
{ "Fixit", "Repair mode with CDROM or fixit floppy.", NULL, dmenuSubmenu, NULL, &MenuFixit },
{ "FTP sites", "The FTP mirror site listing.", NULL, dmenuSubmenu, NULL, &MenuMediaFTP },
- { "Dump Vars", "(debugging) dump out internal variables.", NULL, dump_variables },
{ "Gateway", "Set flag to route packets between interfaces.", dmenuVarCheck, dmenuToggleVariable, NULL, "gateway=YES" },
{ "HTML Docs", "The HTML documentation menu", NULL, docBrowser },
{ "Install, Novice", "A novice system installation.", NULL, installNovice },
OpenPOWER on IntegriCloud