summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2007-09-23 16:47:19 +0000
committerjoerg <joerg>2007-09-23 16:47:19 +0000
commit9df75af1c4a97a083e41acc3b60428fefb991e68 (patch)
tree1a6d454281042dc62c15ba5078c2a29b3b56d238 /net
parent58e548b4a3444f69d512ab72de0410bfb6d9b1a9 (diff)
downloadpkgsrc-9df75af1c4a97a083e41acc3b60428fefb991e68.tar.gz
Rename a function argument to make it buildable on certain versions of
NetBSD current. bool should be considered a keyword...
Diffstat (limited to 'net')
-rw-r--r--net/tnftp/files/src/cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tnftp/files/src/cmds.c b/net/tnftp/files/src/cmds.c
index cfc3dcfdb30..2c27c5474b4 100644
--- a/net/tnftp/files/src/cmds.c
+++ b/net/tnftp/files/src/cmds.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cmds.c,v 1.6 2007/08/07 02:07:01 lukem Exp $ */
+/* $NetBSD: cmds.c,v 1.7 2007/09/23 16:47:19 joerg Exp $ */
/* from NetBSD: cmds.c,v 1.123 2007/05/24 05:05:18 lukem Exp */
/*-
@@ -791,10 +791,10 @@ fget(int argc, char *argv[])
}
const char *
-onoff(int bool)
+onoff(int truth)
{
- return (bool ? "on" : "off");
+ return (truth ? "on" : "off");
}
/*