Module Name: src
Committed By: lukem
Date: Tue Jan 12 06:50:05 UTC 2010
Modified Files:
src/usr.bin/ftp: cmds.c
Log Message:
rename argument from "bool" to "val"
To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/usr.bin/ftp/cmds.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/ftp/cmds.c
diff -u src/usr.bin/ftp/cmds.c:1.130 src/usr.bin/ftp/cmds.c:1.131
--- src/usr.bin/ftp/cmds.c:1.130 Mon Jul 13 19:05:41 2009
+++ src/usr.bin/ftp/cmds.c Tue Jan 12 06:50:04 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.130 2009/07/13 19:05:41 roy Exp $ */
+/* $NetBSD: cmds.c,v 1.131 2010/01/12 06:50:04 lukem Exp $ */
/*-
* Copyright (c) 1996-2009 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@
#if 0
static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94";
#else
-__RCSID("$NetBSD: cmds.c,v 1.130 2009/07/13 19:05:41 roy Exp $");
+__RCSID("$NetBSD: cmds.c,v 1.131 2010/01/12 06:50:04 lukem Exp $");
#endif
#endif /* not lint */
@@ -779,10 +779,10 @@
}
const char *
-onoff(int bool)
+onoff(int val)
{
- return (bool ? "on" : "off");
+ return (val ? "on" : "off");
}
/*