diff options
author | pst <pst@FreeBSD.org> | 1997-09-17 16:18:22 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1997-09-17 16:18:22 +0000 |
commit | 4f718b5d5dce425cd7d4b8dffc42ead31b97e8be (patch) | |
tree | 65dfc78a88a3e556a4910bd8604818834a37b366 /usr.sbin/sysinstall/dispatch.c | |
parent | 0dfe9b61e4cbf3786d7f51e0703645e80c84ef26 (diff) | |
download | FreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.zip FreeBSD-src-4f718b5d5dce425cd7d4b8dffc42ead31b97e8be.tar.gz |
Put all variables in VAR_ #define's to force a single location for all
of these magic knobs. This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
Diffstat (limited to 'usr.sbin/sysinstall/dispatch.c')
-rw-r--r-- | usr.sbin/sysinstall/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dispatch.c b/usr.sbin/sysinstall/dispatch.c index 181ccd5..67e09d6 100644 --- a/usr.sbin/sysinstall/dispatch.c +++ b/usr.sbin/sysinstall/dispatch.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dispatch.c,v 1.22 1997/09/08 11:09:08 jkh Exp $ + * $Id: dispatch.c,v 1.23 1997/09/16 18:57:08 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -173,7 +173,7 @@ dispatch_shutdown(dialogMenuItem *unused) static int dispatch_systemExecute(dialogMenuItem *unused) { - char *cmd = variable_get("command"); + char *cmd = variable_get(VAR_COMMAND); if (cmd) return systemExecute(cmd) ? DITEM_FAILURE : DITEM_SUCCESS; |