summaryrefslogtreecommitdiff
path: root/usr.sbin/sade/variable.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1996-04-29 06:47:10 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1996-04-29 06:47:10 +0000
commit1966645d088f1d0afd2943934795c057b7b8bb4a (patch)
tree65662d4f8ce8093a19070a39e8662dc1434410d3 /usr.sbin/sade/variable.c
parent4f3fd9ad3f23f6843b134718452050d30f5cf307 (diff)
Notes
Diffstat (limited to 'usr.sbin/sade/variable.c')
-rw-r--r--usr.sbin/sade/variable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/sade/variable.c b/usr.sbin/sade/variable.c
index 4f7ad7310ac9..85b19e26ac58 100644
--- a/usr.sbin/sade/variable.c
+++ b/usr.sbin/sade/variable.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $
+ * $Id: variable.c,v 1.9 1996/04/23 01:29:35 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -49,6 +49,8 @@ make_variable(char *var, char *value)
/* Now search to see if it's already in the list */
for (newvar = VarHead; newvar; newvar = newvar->next) {
if (!strcmp(newvar->name, var)) {
+ if (isDebug())
+ msgDebug("variable %s was %s, now %s\n", newvar->name, newvar->value, value);
strncpy(newvar->value, value, VAR_VALUE_MAX);
return;
}