Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libsa PR/50952: David Binderman: Clarify expression
details: https://anonhg.NetBSD.org/src/rev/fe1bc650fe6f
branches: trunk
changeset: 344059:fe1bc650fe6f
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 11 18:38:25 2016 +0000
description:
PR/50952: David Binderman: Clarify expression
diffstat:
sys/lib/libsa/dosfs.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r f00533d83832 -r fe1bc650fe6f sys/lib/libsa/dosfs.c
--- a/sys/lib/libsa/dosfs.c Fri Mar 11 18:35:50 2016 +0000
+++ b/sys/lib/libsa/dosfs.c Fri Mar 11 18:38:25 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dosfs.c,v 1.20 2014/03/20 03:13:18 christos Exp $ */
+/* $NetBSD: dosfs.c,v 1.21 2016/03/11 18:38:25 christos Exp $ */
/*
* Copyright (c) 1996, 1998 Robert Nordier
@@ -566,7 +566,8 @@
}
} else if (!(dir[ent].de.deAttributes &
ATTR_VOLUME)) {
- if ((ok = xdn == 1)) {
+ ok = xdn == 1;
+ if (ok) {
for (x = 0, i = 0;
i < 11; i++)
x = ((((x & 1) << 7) | (x >> 1)) +
Home |
Main Index |
Thread Index |
Old Index