Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/am-utils/dist/amd Checking flags with binary op...
details: https://anonhg.NetBSD.org/src/rev/cf516193eb5f
branches: trunk
changeset: 335702:cf516193eb5f
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Jan 21 21:48:23 2015 +0000
description:
Checking flags with binary ops is likely to create better results.
diffstat:
external/bsd/am-utils/dist/amd/map.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ad1ea18e2b19 -r cf516193eb5f external/bsd/am-utils/dist/amd/map.c
--- a/external/bsd/am-utils/dist/amd/map.c Wed Jan 21 21:47:44 2015 +0000
+++ b/external/bsd/am-utils/dist/amd/map.c Wed Jan 21 21:48:23 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: map.c,v 1.1.1.3 2015/01/17 16:34:15 christos Exp $ */
+/* $NetBSD: map.c,v 1.2 2015/01/21 21:48:23 joerg Exp $ */
/*
* Copyright (c) 1997-2014 Erez Zadok
@@ -754,7 +754,7 @@
} else {
am_unmounted(mp);
}
- if (!(mf->mf_flags && (MFF_UNMOUNTING|MFF_MOUNTED)))
+ if (!(mf->mf_flags & (MFF_UNMOUNTING|MFF_MOUNTED)))
exported_ap[i] = NULL;
} else {
/*
Home |
Main Index |
Thread Index |
Old Index