diff options
author | dim <dim@FreeBSD.org> | 2012-02-06 12:08:41 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-02-06 12:08:41 +0000 |
commit | 9df8133640c5924838c6b7491804ea0842d4d4c4 (patch) | |
tree | 1121058819039c615fd1707113acd03cba60f37e /usr.bin | |
parent | 7568a91a59edeae64a910d200f4ad39f3e8465f4 (diff) | |
download | FreeBSD-src-9df8133640c5924838c6b7491804ea0842d4d4c4.zip FreeBSD-src-9df8133640c5924838c6b7491804ea0842d4d4c4.tar.gz |
Amend r231079 by properly shifting up the existing arguments in
rpc_main.c's insarg() function. I had forgotten to put this in my patch
queue, sorry.
Pointy hat to: me
MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rpcgen/rpc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c index da96fdf..7cff9bf 100644 --- a/usr.bin/rpcgen/rpc_main.c +++ b/usr.bin/rpcgen/rpc_main.c @@ -953,7 +953,7 @@ insarg(int place, const char *cp) } /* Move up existing arguments */ - for (i = argcount - 1; i > place; i--) + for (i = argcount - 1; i >= place; i--) arglist[i + 1] = arglist[i]; arglist[place] = xstrdup(cp); |