summaryrefslogtreecommitdiff
path: root/diet.patch
blob: 5bd680bb57d574ddcd90ea4fa132f6ec159b9345 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- cryptsetup-1.0.6/lib/utils.c~	2007-12-01 17:29:27.000000000 +0100
+++ cryptsetup-1.0.6/lib/utils.c	2009-03-18 22:32:25.000000000 +0100
@@ -31,7 +31,9 @@
 	    free(error);
 	    error=NULL;
 	}
-
+#ifdef __dietlibc__
+	if (fmt)
+#endif
         vasprintf(&error, fmt, va);
 }