Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/atf/dist/atf-c need || instead of &&



details:   https://anonhg.NetBSD.org/src/rev/abf32aa35cc9
branches:  trunk
changeset: 771103:abf32aa35cc9
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 09 14:42:42 2011 +0000

description:
need || instead of &&

diffstat:

 external/bsd/atf/dist/atf-c/tc.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b44352b59fc4 -r abf32aa35cc9 external/bsd/atf/dist/atf-c/tc.c
--- a/external/bsd/atf/dist/atf-c/tc.c  Wed Nov 09 14:16:00 2011 +0000
+++ b/external/bsd/atf/dist/atf-c/tc.c  Wed Nov 09 14:42:42 2011 +0000
@@ -164,7 +164,7 @@
     ssize_t ret;
     int count = 0;
 
-    INV(arg == -1 && reason != NULL);
+    INV(arg == -1 || reason != NULL);
 
     iov[count].iov_base = __UNCONST(result);
     iov[count++].iov_len = strlen(result);



Home | Main Index | Thread Index | Old Index