]> git.decadent.org.uk Git - nfs-utils.git/commit
utils/nfsd: fix -N optarg error printout
authorBenny Halevy <bhalevy@panasas.com>
Wed, 15 Apr 2009 18:16:08 +0000 (14:16 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 15 Apr 2009 18:16:08 +0000 (14:16 -0400)
commit41eb279c2f46ca020bc3b8d17811555f74b99d2e
treece6a2c896b1ce929ca77d31df1b21a9433460228
parentd4008af910ba1d527f00f8207fb3f8f5709e943d
utils/nfsd: fix -N optarg error printout

as currently printed c is the version number, not a string char,
therefore is should be printed as %d not %c.  That said, just print
optarg as %s since it might be non-numeric.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
utils/nfsd/nfsd.c