summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-05-24 15:59:06 +0000
committerchristos <christos@NetBSD.org>2006-05-24 15:59:06 +0000
commitcd2ccbaf9405074d856786149c817f0367466c65 (patch)
tree07621dba70aac20ab8f9de9ae3c395b0b5e70066 /usr.bin
parent4871d79cb7bed966d80beb8480495fa90d446e8f (diff)
Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/pr/pr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pr/pr.c b/usr.bin/pr/pr.c
index f0fe5a8ba26..ab62655584a 100644
--- a/usr.bin/pr/pr.c
+++ b/usr.bin/pr/pr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pr.c,v 1.15 2006/05/01 23:31:10 christos Exp $ */
+/* $NetBSD: pr.c,v 1.16 2006/05/24 15:59:06 christos Exp $ */
/*-
* Copyright (c) 1991 Keith Muller.
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\n\
#if 0
from: static char sccsid[] = "@(#)pr.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: pr.c,v 1.15 2006/05/01 23:31:10 christos Exp $");
+__RCSID("$NetBSD: pr.c,v 1.16 2006/05/24 15:59:06 christos Exp $");
#endif
#endif /* not lint */
@@ -536,7 +536,7 @@ vertcol(argc, argv)
cnt = fullcol;
if (otln(vc[tvc].pt, cnt, &ips,
&ops, 1))
- return(1);
+ goto out;
tvc += pln;
if (tvc >= cvc)
break;