summaryrefslogtreecommitdiff
path: root/packages/ifupdown/ifupdown-0.6.4/gcc34-fix.patch
blob: f90e312694b1b73dc710a4d645d52f29dd0ac02a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- ifupdown-0.6.4/execute.c~gcc34-fix	2004-04-28 00:16:45.000000000 +0200
+++ ifupdown-0.6.4/execute.c	2004-04-28 00:17:11.000000000 +0200
@@ -167,7 +167,7 @@
 		    case 0: /* child */
 			execle("/bin/sh", "/bin/sh", "-c", str, NULL, environ);
 			exit(127);
-		    default: /* parent */
+		    default:; /* parent */
 		}
 		waitpid(child, &status, 0);
 		if (!WIFEXITED(status) || WEXITSTATUS(status) != 0)