Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/lpr/common_source change return(0) to return(rv). ...



details:   https://anonhg.NetBSD.org/src/rev/f454dd4665eb
branches:  trunk
changeset: 587290:f454dd4665eb
user:      garbled <garbled%NetBSD.org@localhost>
date:      Wed Jan 18 19:11:25 2006 +0000

description:
change return(0) to return(rv).  We went to all the trouble to calculate the
return value, we might as well return it. (fixes lpq -a, and probably lpd)

diffstat:

 usr.sbin/lpr/common_source/common.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d3a66deba3b6 -r f454dd4665eb usr.sbin/lpr/common_source/common.c
--- a/usr.sbin/lpr/common_source/common.c       Wed Jan 18 17:03:36 2006 +0000
+++ b/usr.sbin/lpr/common_source/common.c       Wed Jan 18 19:11:25 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.c,v 1.31 2006/01/17 19:11:12 garbled Exp $      */
+/*     $NetBSD: common.c,v 1.32 2006/01/18 19:11:25 garbled Exp $      */
 
 /*
  * Copyright (c) 1983, 1993
@@ -39,7 +39,7 @@
 #if 0
 static char sccsid[] = "@(#)common.c   8.5 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: common.c,v 1.31 2006/01/17 19:11:12 garbled Exp $");
+__RCSID("$NetBSD: common.c,v 1.32 2006/01/18 19:11:25 garbled Exp $");
 #endif
 #endif /* not lint */
 
@@ -458,5 +458,5 @@
                closedir(dirp);
        if (spooldir != sd)
                free(sd);
-       return (0);
+       return (rv);
 }



Home | Main Index | Thread Index | Old Index