[PATCH] skipcpio: return something at end of program

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux