Module Name: othersrc
Committed By: lukem
Date: Tue Jan 12 06:55:47 UTC 2010
Modified Files:
othersrc/usr.bin/tnftp/src: cmds.c
Log Message:
rename argument "bool" to "val"
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 othersrc/usr.bin/tnftp/src/cmds.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: othersrc/usr.bin/tnftp/src/cmds.c
diff -u othersrc/usr.bin/tnftp/src/cmds.c:1.16 othersrc/usr.bin/tnftp/src/cmds.c:1.17
--- othersrc/usr.bin/tnftp/src/cmds.c:1.16 Sun Nov 15 10:12:37 2009
+++ othersrc/usr.bin/tnftp/src/cmds.c Tue Jan 12 06:55:47 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.16 2009/11/15 10:12:37 lukem Exp $ */
+/* $NetBSD: cmds.c,v 1.17 2010/01/12 06:55:47 lukem Exp $ */
/* from NetBSD: cmds.c,v 1.130 2009/07/13 19:05:41 roy Exp */
/*-
@@ -786,10 +786,10 @@
}
const char *
-onoff(int bool)
+onoff(int val)
{
- return (bool ? "on" : "off");
+ return (val ? "on" : "off");
}
/*