summaryrefslogtreecommitdiff
path: root/www/clearsilver/files/patch-cs__cstest.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/clearsilver/files/patch-cs__cstest.c')
-rw-r--r--www/clearsilver/files/patch-cs__cstest.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/clearsilver/files/patch-cs__cstest.c b/www/clearsilver/files/patch-cs__cstest.c
new file mode 100644
index 000000000000..201bf4603e9a
--- /dev/null
+++ b/www/clearsilver/files/patch-cs__cstest.c
@@ -0,0 +1,11 @@
+--- ./cs/cstest.c.orig 2006-03-13 00:54:15.000000000 +0100
++++ ./cs/cstest.c 2012-04-23 17:54:05.809909855 +0200
+@@ -30,7 +30,7 @@
+ int x = 0;
+
+ if (s == NULL)
+- return nerr_raise(NERR_NOMEM, "Unable to duplicate string in test_strfunc");
++ return nerr_raise(NERR_NOMEM, "%s", "Unable to duplicate string in test_strfunc");
+
+ while (s[x]) {
+ s[x] = tolower(s[x]);