]> The Tcpdump Group git mirrors - tcpdump/commitdiff
constness
authoritojun <itojun>
Mon, 18 Feb 2002 08:56:45 +0000 (08:56 +0000)
committeritojun <itojun>
Mon, 18 Feb 2002 08:56:45 +0000 (08:56 +0000)
print-nfs.c

index c135486693a055d37cf675c6045e870c6469cc5e..b2acbc967d8a7c71e05694f0fd6f47dcc5b5434e 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.89 2001-07-08 08:01:43 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-nfs.c,v 1.90 2002-02-18 08:56:45 itojun Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -758,7 +758,7 @@ nfs_printfh(register const u_int32_t *dp, const u_int len)
        ino_t ino;
        char *sfsname = NULL;
 
-       Parse_fh((caddr_t*)dp, len, &fsid, &ino, NULL, &sfsname, 0);
+       Parse_fh((caddr_t*)dp, len, &fsid, &ino, NULL, (const char **)&sfsname, 0);
 
        if (sfsname) {
                /* file system ID is ASCII, not numeric, for this server OS */