summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-04-21 22:52:18 +0000
committerpfg <pfg@FreeBSD.org>2014-04-21 22:52:18 +0000
commit2a89efd87b0945ce884c8ce6edf83e248c8f79d0 (patch)
treeffdd6f0dc2682783b82206edbcc2c24e90d57dcd /usr.bin/grep/grep.c
parent540cea4ebc7db0a742da16bad4078a2fdfc50695 (diff)
downloadFreeBSD-src-2a89efd87b0945ce884c8ce6edf83e248c8f79d0.zip
FreeBSD-src-2a89efd87b0945ce884c8ce6edf83e248c8f79d0.tar.gz
Various style(9) fixes and typos in grep, sort and patch.
MFC after: 3 days
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r--usr.bin/grep/grep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 117a5a9..74446b6 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -311,7 +311,7 @@ read_patterns(const char *fn)
fclose(f);
return;
}
- while ((line = fgetln(f, &len)) != NULL)
+ while ((line = fgetln(f, &len)) != NULL)
add_pattern(line, line[0] == '\n' ? 0 : len);
if (ferror(f))
err(2, "%s", fn);
OpenPOWER on IntegriCloud