Module Name: src
Committed By: mbalmer
Date: Tue Dec 25 09:24:45 UTC 2012
Modified Files:
src/sbin/savecore: zopen.c
Log Message:
Consistent use of return.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/savecore/zopen.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/savecore/zopen.c
diff -u src/sbin/savecore/zopen.c:1.2 src/sbin/savecore/zopen.c:1.3
--- src/sbin/savecore/zopen.c:1.2 Mon Jun 27 01:00:06 2005
+++ src/sbin/savecore/zopen.c Tue Dec 25 09:24:45 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: zopen.c,v 1.2 2005/06/27 01:00:06 christos Exp $ */
+/* $NetBSD: zopen.c,v 1.3 2012/12/25 09:24:45 mbalmer Exp $ */
/*
* Public domain stdio wrapper for libz, written by Johan Danielsson.
@@ -6,7 +6,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: zopen.c,v 1.2 2005/06/27 01:00:06 christos Exp $");
+__RCSID("$NetBSD: zopen.c,v 1.3 2012/12/25 09:24:45 mbalmer Exp $");
#endif
#include <stdio.h>
@@ -35,7 +35,7 @@ zopen(const char *fname, const char *mod
return NULL;
if(*mode == 'r')
- return (funopen(gz, xgzread, NULL, NULL, gzclose));
+ return funopen(gz, xgzread, NULL, NULL, gzclose);
else
- return (funopen(gz, NULL, xgzwrite, NULL, gzclose));
+ return funopen(gz, NULL, xgzwrite, NULL, gzclose);
}