diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-05 22:32:47 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-09-05 22:32:47 +0000 |
commit | 772191eebf6a62b3fe9de2482c910de8c79000d5 (patch) | |
tree | eea109f48afccf4e7cab1ea695e65fec36d1cf5e /usr.bin/more | |
parent | a30f0def118756a387cba2c5eac41a702277da77 (diff) |
make sure that va_start() has matching va_end()
Diffstat (limited to 'usr.bin/more')
-rw-r--r-- | usr.bin/more/more.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/more/more.c b/usr.bin/more/more.c index 8d00f0fcd9f..b3d4f4a3be5 100644 --- a/usr.bin/more/more.c +++ b/usr.bin/more/more.c @@ -1,4 +1,4 @@ -/* $OpenBSD: more.c,v 1.13 2001/09/04 23:35:59 millert Exp $ */ +/* $OpenBSD: more.c,v 1.14 2001/09/05 22:32:41 deraadt Exp $ */ /*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. @@ -1438,8 +1438,8 @@ va_dcl va_start(argp); execvp (cmd, argp); write (2, "exec failed\n", 12); - exit (1); va_end(argp); /* balance {}'s for some UNIX's */ + exit (1); } if (id > 0) { signal (SIGINT, SIG_IGN); |