diff options
author | joerg <joerg@pkgsrc.org> | 2007-09-23 16:47:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-09-23 16:47:19 +0000 |
commit | 2c101f687d1b6349efa6e0a4ab60ec6560365a6b (patch) | |
tree | 1a6d454281042dc62c15ba5078c2a29b3b56d238 /net/tnftp | |
parent | bfd3f3df088d4eddebf4b061968dba3ae4d2e86a (diff) | |
download | pkgsrc-2c101f687d1b6349efa6e0a4ab60ec6560365a6b.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/tnftp')
-rw-r--r-- | net/tnftp/files/src/cmds.c | 6 |
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"); } /* |