]> The Tcpdump Group git mirrors - tcpdump/commitdiff
NFS: Fix the format for printing an unsigned int
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 10 Oct 2022 07:41:59 +0000 (09:41 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 10 Oct 2022 07:41:59 +0000 (09:41 +0200)
print-nfs.c

index 1d48ee14a4f93dab1a9c001f68549d89f2abb832..c90eadbd2fa03fbc69af0b667332439e218ad19a 100644 (file)
@@ -906,7 +906,7 @@ nfs_printfh(netdissect_options *ndo,
                /* Print the undecoded handle */
                ND_PRINT("%s", fsid.Opaque_Handle);
        else
-               ND_PRINT("%ld", (long) ino);
+               ND_PRINT("%u", ino);
 }
 
 /*