diff options
author | joerg <joerg> | 2012-04-17 17:47:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2012-04-17 17:47:54 +0000 |
commit | 307ae36dfb01aac6ff7a28e4640e2eb70891c416 (patch) | |
tree | a5235633ff192817e9ee8c4764c2431eeb3e3b53 | |
parent | 1edf6328792ab0077ee5c3ed9a218e3d49048268 (diff) | |
download | pkgsrc-307ae36dfb01aac6ff7a28e4640e2eb70891c416.tar.gz |
Fix "return;" in non-void function.
-rw-r--r-- | sysutils/fatback/distinfo | 4 | ||||
-rw-r--r-- | sysutils/fatback/patches/patch-aa | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/fatback/distinfo b/sysutils/fatback/distinfo index 66614199c71..e2f225ad231 100644 --- a/sysutils/fatback/distinfo +++ b/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 diff --git a/sysutils/fatback/patches/patch-aa b/sysutils/fatback/patches/patch-aa index a00d84cf493..619ac65dc24 100644 --- a/sysutils/fatback/patches/patch-aa +++ b/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); |