From d2a7cc99dc2d47106d1c30ac3ddb912de1f1d0e2 Mon Sep 17 00:00:00 2001 From: elad Date: Tue, 19 Sep 2006 20:37:08 +0000 Subject: [PATCH] Oops, fix test. Pointed out by Matt Fleming, thanks! --- usr.sbin/veriexecgen/veriexecgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/veriexecgen/veriexecgen.c b/usr.sbin/veriexecgen/veriexecgen.c index 592eb7748353..ee0e53fcd432 100644 --- a/usr.sbin/veriexecgen/veriexecgen.c +++ b/usr.sbin/veriexecgen/veriexecgen.c @@ -1,4 +1,4 @@ -/* $NetBSD: veriexecgen.c,v 1.4 2006/09/18 20:53:48 elad Exp $ */ +/* $NetBSD: veriexecgen.c,v 1.5 2006/09/19 20:37:08 elad Exp $ */ /*- * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -171,7 +171,7 @@ add_new_entry(FTSENT *file, struct hash *hash) } else sb = *file->fts_statp; - if (!aflag && !Dflag && IS_EXEC(sb.st_mode)) + if (!aflag && !Dflag && !IS_EXEC(sb.st_mode)) return; e = ecalloc(1UL, sizeof(*e));