diff options
author | 2016-01-15 03:03:07 +0000 | |
---|---|---|
committer | 2016-01-15 03:03:07 +0000 | |
commit | 540987945433cba8f7f7bf2e515b994fc9cc42ba (patch) | |
tree | b163d1fc1625a0dd474f1b20f1ca9eeaa864871a /usr.sbin/tcpdump/print-nfs.c | |
parent | rs_malloc() does not need to be cast (diff) | |
download | wireguard-openbsd-540987945433cba8f7f7bf2e515b994fc9cc42ba.tar.xz wireguard-openbsd-540987945433cba8f7f7bf2e515b994fc9cc42ba.zip |
Remove preprocessor conditions (checking for ancient OSs) that try to
divine whether a file handle was generated on the current host. More
simplifications to come.
supported by deraadt@
Diffstat (limited to 'usr.sbin/tcpdump/print-nfs.c')
-rw-r--r-- | usr.sbin/tcpdump/print-nfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-nfs.c b/usr.sbin/tcpdump/print-nfs.c index b3741808409..1fdc56af4f7 100644 --- a/usr.sbin/tcpdump/print-nfs.c +++ b/usr.sbin/tcpdump/print-nfs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-nfs.c,v 1.21 2015/11/16 00:16:39 mmcc Exp $ */ +/* $OpenBSD: print-nfs.c,v 1.22 2016/01/15 03:03:07 mmcc Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -719,7 +719,7 @@ nfs_printfh(const u_int32_t *dp, const u_int len) ino_t ino; char *sfsname = NULL; - Parse_fh((caddr_t *)dp, &fsid, &ino, NULL, &sfsname, 0); + Parse_fh((caddr_t *)dp, &fsid, &ino, NULL, &sfsname); if (sfsname) { /* file system ID is ASCII, not numeric, for this server OS */ |