Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/cd9660 PR/50951: David Binderman: Fix misplaced parens
details: https://anonhg.NetBSD.org/src/rev/7a80be7aa409
branches: trunk
changeset: 814200:7a80be7aa409
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 11 18:35:50 2016 +0000
description:
PR/50951: David Binderman: Fix misplaced parens
diffstat:
sys/fs/cd9660/cd9660_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 66c6c9c68005 -r 7a80be7aa409 sys/fs/cd9660/cd9660_vnops.c
--- a/sys/fs/cd9660/cd9660_vnops.c Fri Mar 11 18:34:59 2016 +0000
+++ b/sys/fs/cd9660/cd9660_vnops.c Fri Mar 11 18:35:50 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cd9660_vnops.c,v 1.52 2015/04/20 23:03:07 riastradh Exp $ */
+/* $NetBSD: cd9660_vnops.c,v 1.53 2016/03/11 18:35:50 christos Exp $ */
/*-
* Copyright (c) 1994
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.52 2015/04/20 23:03:07 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cd9660_vnops.c,v 1.53 2016/03/11 18:35:50 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -319,7 +319,7 @@
cl = idp->current.d_namlen;
cname = idp->current.d_name;
- if ((assoc = cl > 1 && *cname == ASSOCCHAR)) {
+ if ((assoc = cl) > 1 && *cname == ASSOCCHAR) {
cl--;
cname++;
}
Home |
Main Index |
Thread Index |
Old Index