mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH] skipcpio: return something at end of program
@ 2014-01-28 19:41 Cristian Rodríguez
       [not found] ` <1390938068-5109-1-git-send-email-crrodriguez-stAJ6ESoqRxg9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Cristian Rodríguez @ 2014-01-28 19:41 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA; +Cc: Cristian Rodríguez

Otherwise the compiler emits a warning and the return vale is
in theory undefined.
---
 skipcpio/skipcpio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/skipcpio/skipcpio.c b/skipcpio/skipcpio.c
index fbf391b..c912061 100644
--- a/skipcpio/skipcpio.c
+++ b/skipcpio/skipcpio.c
@@ -120,4 +120,6 @@ int main(int argc, char **argv)
                         break;
         }
         fclose(f);
+
+        return EXIT_SUCCESS;
 }
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-29  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 19:41 [PATCH] skipcpio: return something at end of program Cristian Rodríguez
     [not found] ` <1390938068-5109-1-git-send-email-crrodriguez-stAJ6ESoqRxg9hUCZPvPmw@public.gmane.org>
2014-01-29  7:33   ` Harald Hoyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox