diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-13 20:28:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-10-13 20:28:50 +0000 |
commit | 5b785c25202e85d954c1248ca4dc16276ff3aa62 (patch) | |
tree | f1b10311554550904209a9531ad3969c92514bb4 /usr.bin/mg/grep.c | |
parent | a72ced90ddf0930ee6a27432516e5a882800a30e (diff) |
spacing
Diffstat (limited to 'usr.bin/mg/grep.c')
-rw-r--r-- | usr.bin/mg/grep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/grep.c b/usr.bin/mg/grep.c index 4220e55b69c..c61bbef8f66 100644 --- a/usr.bin/mg/grep.c +++ b/usr.bin/mg/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.18 2005/10/13 05:24:52 kjell Exp $ */ +/* $OpenBSD: grep.c,v 1.19 2005/10/13 20:28:49 deraadt Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. * Copyright (c) 2005 Kjell Wooding <kjell@openbsd.org>. @@ -218,7 +218,7 @@ compile_mode(char *name, char *command, char *path) char *buf; size_t len; int ret; - char *wdir, cwd[NFILEN]; + char *wdir, cwd[NFILEN]; char timestr[NTIME]; time_t t; @@ -235,7 +235,7 @@ compile_mode(char *name, char *command, char *path) if (chdir(path) == -1) { ewprintf("Can't change dir to %s", path); return (NULL); - } + } if ((pipe = popen(command, "r")) == NULL) { ewprintf("Problem opening pipe"); return (NULL); @@ -269,7 +269,7 @@ compile_mode(char *name, char *command, char *path) if (chdir(cwd) == -1) { ewprintf("Can't change dir back to %s", cwd); return (NULL); - } + } return (bp); } |