summaryrefslogtreecommitdiff
path: root/usr.bin/grep/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/grep/util.c')
-rw-r--r--usr.bin/grep/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/grep/util.c b/usr.bin/grep/util.c
index 6754cfc02ed..6e5e28983c0 100644
--- a/usr.bin/grep/util.c
+++ b/usr.bin/grep/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.40 2011/07/08 01:20:24 tedu Exp $ */
+/* $OpenBSD: util.c,v 1.41 2011/07/11 20:43:21 tedu Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -174,6 +174,7 @@ procline(str_t *l, int nottext)
c = 0;
i = 0;
if (matchall) {
+ c = 1;
goto print;
}