summaryrefslogtreecommitdiff
path: root/security/pks/files/patch-kd_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/pks/files/patch-kd_search.c')
-rw-r--r--security/pks/files/patch-kd_search.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/pks/files/patch-kd_search.c b/security/pks/files/patch-kd_search.c
new file mode 100644
index 000000000000..e5e70ad79352
--- /dev/null
+++ b/security/pks/files/patch-kd_search.c
@@ -0,0 +1,13 @@
+--- ./kd_search.c.orig 2003-08-04 21:57:34.000000000 +0200
++++ ./kd_search.c 2014-08-15 18:37:29.000000000 +0200
+@@ -1058,8 +1058,8 @@
+ if (we->len > sizeof (word))
+ {
+ s->err->fatal = 0;
+- sprintf (s->err->buf, "search word is greater than %d characters",
+- sizeof (word));
++ sprintf (s->err->buf, "search word is greater than %lu characters",
++ (unsigned long)sizeof (word));
+ return (0);
+ }
+