Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tcpdump/dist Fix always false test (typo). Note...
details: https://anonhg.NetBSD.org/src/rev/b93346b8101d
branches: trunk
changeset: 461145:b93346b8101d
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 16 21:41:02 2019 +0000
description:
Fix always false test (typo). Note by joerg@
diffstat:
external/bsd/tcpdump/dist/parsenfsfh.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 52812a9a7708 -r b93346b8101d external/bsd/tcpdump/dist/parsenfsfh.c
--- a/external/bsd/tcpdump/dist/parsenfsfh.c Sat Nov 16 21:25:14 2019 +0000
+++ b/external/bsd/tcpdump/dist/parsenfsfh.c Sat Nov 16 21:41:02 2019 +0000
@@ -42,7 +42,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: parsenfsfh.c,v 1.8 2017/02/05 04:05:05 spz Exp $");
+__RCSID("$NetBSD: parsenfsfh.c,v 1.9 2019/11/16 21:41:02 christos Exp $");
#endif
#ifdef HAVE_CONFIG_H
@@ -211,7 +211,7 @@
if ((fhp[6] == 0) && (fhp[7] == 0)) {
/* for ffs sizeof(ufid) == 16 bytes */
if ((fhp[8] == 0x10 && fhp[9] == 0x0) ||
- (fhp[9] == 0x0 && fhp[9] == 0x10))
+ (fhp[8] == 0x0 && fhp[9] == 0x10))
fhtype = FHT_NETBSD;
else
fhtype = FHT_BSD44;
Home |
Main Index |
Thread Index |
Old Index