summaryrefslogtreecommitdiff
path: root/security/stegdetect/files/patch-break_jsteg.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-12-29 01:56:32 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-12-29 01:56:32 +0000
commit5fb1a4c0bf987b83b0b0cc77d40ac2e8780f01d3 (patch)
treea3895b4f96b72b96a7b3fd5e028fda7366e698f5 /security/stegdetect/files/patch-break_jsteg.c
parent- Fix fetching, unbreak (diff)
- Fix build with gcc 3.4
PR: ports/75590 Submitted by: Samy Al Bahra <samy@kerneled.org>
Notes
Notes: svn path=/head/; revision=125404
Diffstat (limited to 'security/stegdetect/files/patch-break_jsteg.c')
-rw-r--r--security/stegdetect/files/patch-break_jsteg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/security/stegdetect/files/patch-break_jsteg.c b/security/stegdetect/files/patch-break_jsteg.c
new file mode 100644
index 000000000000..9a636fdacebe
--- /dev/null
+++ b/security/stegdetect/files/patch-break_jsteg.c
@@ -0,0 +1,11 @@
+--- break_jsteg.c Fri Dec 21 01:11:32 2001
++++ /tmp/break_jsteg.c.diff Wed Dec 29 03:32:38 2004
+@@ -162,7 +162,7 @@
+ jstegob->skip = bytes - sizeof(jstegob->coeff);
+
+ if (jsbits < max || off + jsbits > bits) {
+- warnx(__FUNCTION__": bad size in bits, %d", bits);
++ warnx("break_jsteg_prepare: bad size in bits, %d", bits);
+ return (NULL);
+ }
+