summaryrefslogtreecommitdiff
path: root/development/opencomal/patches/04-mkdir.diff
blob: 47e94354f9f9c22b3693111fb1b0b47e109f9cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur opencomal-0.2.6/src/pdclinux.c opencomal-0.2.6.patched/src/pdclinux.c
--- opencomal-0.2.6/src/pdclinux.c	2002-11-30 03:40:20.000000000 -0500
+++ opencomal-0.2.6.patched/src/pdclinux.c	2017-12-10 17:48:17.357208824 -0500
@@ -486,7 +486,7 @@
 
 PUBLIC void sys_mkdir(char *dir)
 {
-	if (!mkdir(dir,0777)<0)
+	if (mkdir(dir,0777)<0)
 		run_error(DIR_ERR,strerror(errno));
 }