diff options
author | Jan Rękorajski | 2009-03-18 21:33:38 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 7fc2d41d58065045a53fd73896426ab385cc0846 (patch) | |
tree | 3dc417ad2186168b803923e921d757236468e98a | |
parent | 694efac5a71e65eb684305be5765556e2cc70206 (diff) | |
download | cryptsetup-7fc2d41d58065045a53fd73896426ab385cc0846.zip cryptsetup-7fc2d41d58065045a53fd73896426ab385cc0846.tar.gz |
- dietlibc vasprintf fails on NULL format
Changed files:
diet.patch -> 1.1
-rw-r--r-- | diet.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/diet.patch b/diet.patch new file mode 100644 index 0000000..32faf44 --- /dev/null +++ b/diet.patch @@ -0,0 +1,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 __dietlbc__ ++ if (fmt) ++#endif + vasprintf(&error, fmt, va); + } + |