Hi!

Patrick found that csstoh is exiting with code 3 even without actually
having an error.
Missing return(0) is fixed by this patch.

Thank you!

Best regards,
Nelson
From e44d169ea4dbb5e805a22465aeef361a7b753d6d Mon Sep 17 00:00:00 2001
From: Nelson A. de Oliveira <[email protected]>
Date: Thu, 17 Mar 2011 12:00:49 -0300
Subject: [PATCH] Include missing return in main()

---
 csstoh.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/csstoh.c b/csstoh.c
index 7772b55..26567a6 100644
--- a/csstoh.c
+++ b/csstoh.c
@@ -65,4 +65,5 @@ int main(int argc, char **argv)
 	fprintf(out, "#endif\n");
 	fclose(out);
 	fclose(in);
-}
\ No newline at end of file
+	return(0);
+}
-- 
1.7.2.3

_______________________________________________
Power mailing list
[email protected]
http://www.bughost.org/mailman/listinfo/power

Reply via email to