diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-08-22 23:28:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-08-22 23:28:20 +0000 |
commit | 40ce67398c912ed0ce87a1dd392584d833d124b0 (patch) | |
tree | 0656de3334db4af4bb12c1740b323fab77400bfd /usr.bin/mg/autoexec.c | |
parent | f40449884cb2307e22e88fb80855d9000a51d915 (diff) |
knf
Diffstat (limited to 'usr.bin/mg/autoexec.c')
-rw-r--r-- | usr.bin/mg/autoexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mg/autoexec.c b/usr.bin/mg/autoexec.c index e67107ee1df..020b1b6d8d0 100644 --- a/usr.bin/mg/autoexec.c +++ b/usr.bin/mg/autoexec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoexec.c,v 1.1 2002/05/29 12:41:42 vincent Exp $ */ +/* $OpenBSD: autoexec.c,v 1.2 2002/08/22 23:28:19 deraadt Exp $ */ /* this file is in the public domain */ /* Author: Vincent Labrecque <vincent@openbsd.org> April 2002 */ @@ -40,7 +40,7 @@ find_autoexec(const char *fname) if (fnmatch(ae->pattern, fname, 0) == 0) { if (used >= have) { have += 8; - /* + /* * XXX - realloc(NULL, ...) is not really * portable */ @@ -90,7 +90,7 @@ auto_execute(int f, int n) { char patbuf[128], funcbuf[128]; int s; - + if ((s = ereply("Filename pattern: ", patbuf, sizeof patbuf)) != TRUE) return (s); if ((s = ereply("Execute: ", funcbuf, sizeof funcbuf)) != TRUE) |