Browse files

Fix "return;" in non-void function.

  • Loading branch information...
1 parent 6774027 commit 60848e7bff8deac64a6dcb6de47e037b36a42003 joerg committed Apr 17, 2012
Showing with 15 additions and 6 deletions.
  1. +2 −2 sysutils/fatback/distinfo
  2. +13 −4 sysutils/fatback/patches/patch-aa
View
4 sysutils/fatback/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2006/10/09 13:23:37 joerg Exp $
+$NetBSD: distinfo,v 1.3 2012/04/17 17:47:54 joerg Exp $
SHA1 (fatback-1.3.tar.gz) = 0c17a76f64b359ee67ea308e58b668c14c77c699
RMD160 (fatback-1.3.tar.gz) = 4a8b29f00e51ea4856e41e94c30dca3e96712a40
Size (fatback-1.3.tar.gz) = 190800 bytes
-SHA1 (patch-aa) = 7012ffcfc8c50bebf4a2a9accefc62d024cfe1aa
+SHA1 (patch-aa) = e8c130c4f514fa61966541eb30016af3e299082c
SHA1 (patch-ab) = 36fb419f55817375437e2548e6c99cb5b70bf0c5
SHA1 (patch-ac) = f844b30f09716c64347ec500210e17e8431bec7d
SHA1 (patch-ad) = 3f0960a7347e8d5c2d6f99849a04133056b36feb
View
17 sysutils/fatback/patches/patch-aa
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/05/25 10:29:01 agc Exp $
+$NetBSD: patch-aa,v 1.2 2012/04/17 17:47:54 joerg Exp $
---- output.c 2005/05/25 10:09:24 1.1
-+++ output.c 2005/05/25 10:11:08
-@@ -63,9 +63,12 @@
+--- output.c.orig 2001-05-30 15:47:04.000000000 +0000
++++ output.c
+@@ -54,7 +54,7 @@ int display(displaylevel_t level, char *
+ /* get the verbosity level from the fatback symbol table */
+ if (!(verbose_var = get_fbvar("verbose"))) {
+ printf("Error reading variable\n");
+- return;
++ return 0;
+ } else {
+ verbose = verbose_var->val.ival;
+ free(verbose_var);
+@@ -63,9 +63,12 @@ int display(displaylevel_t level, char *
/* print the rest of the arguments in standard printf style */
va_start(arg_list, format);
retval = vfprintf(Audit_log, format, arg_list);

0 comments on commit 60848e7

Please sign in to comment.