summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsdumpstate/nfsdumpstate.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-05-29 22:19:45 +0000
committerdelphij <delphij@FreeBSD.org>2009-05-29 22:19:45 +0000
commit33788b835ac6a92ff1d9f3b055fef3b530c73c88 (patch)
tree4bf896c829046e6de251d55cf3096e08b263707f /usr.sbin/nfsdumpstate/nfsdumpstate.c
parentd5497c5f03e86dc1d79ef7771c9a4031b700af1e (diff)
downloadFreeBSD-src-33788b835ac6a92ff1d9f3b055fef3b530c73c88.zip
FreeBSD-src-33788b835ac6a92ff1d9f3b055fef3b530c73c88.tar.gz
Code cleanup for nfs4 utilities:
- Mark internal routines as static; - Eliminate unused parameters where possible, mark __unused for others; - Remove unused variables; - Use %jd for int64_t values in printf(); - Add appropriate %d for printf to match its parameter; - Rename a variable to resolve conflict with revoke(2); Reviewed by: rmacklem Tested with: make universe (bugs are mine)
Diffstat (limited to 'usr.sbin/nfsdumpstate/nfsdumpstate.c')
-rw-r--r--usr.sbin/nfsdumpstate/nfsdumpstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nfsdumpstate/nfsdumpstate.c b/usr.sbin/nfsdumpstate/nfsdumpstate.c
index 54841dc..aed6838 100644
--- a/usr.sbin/nfsdumpstate/nfsdumpstate.c
+++ b/usr.sbin/nfsdumpstate/nfsdumpstate.c
@@ -194,7 +194,7 @@ dump_lockstate(char *fname)
lp[cnt].ndlck_stateid.other[1],
lp[cnt].ndlck_stateid.other[2]);
else
- printf("%-11s %17lld %17lld ",
+ printf("%-11s %17jd %17jd ",
lock_flags(lp[cnt].ndlck_flags),
lp[cnt].ndlck_first,
lp[cnt].ndlck_end);
OpenPOWER on IntegriCloud