summaryrefslogtreecommitdiff
path: root/security/stegdetect/files/patch-common.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-15 15:43:17 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-15 15:43:17 +0000
commit77c0fcc55fd3a24ae30d80e87ce62cdc3ac744d6 (patch)
treecffaef3c3b6eaa725bd0784d8c3f7b59783b5cfa /security/stegdetect/files/patch-common.c
parent- Update to 4.1.5 (diff)
- Update to 0.6
- Take maintainership PR: ports/95793 Submitted by: Rainer Alves <rainer.alves@gmail.com>
Diffstat (limited to 'security/stegdetect/files/patch-common.c')
-rw-r--r--security/stegdetect/files/patch-common.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/security/stegdetect/files/patch-common.c b/security/stegdetect/files/patch-common.c
index b49b0e7fe536..757d4833d75c 100644
--- a/security/stegdetect/files/patch-common.c
+++ b/security/stegdetect/files/patch-common.c
@@ -1,46 +1,46 @@
---- common.c Tue Jan 22 19:25:38 2002
-+++ common.c.diff Wed Dec 29 03:35:11 2004
+--- common.c.orig Sun Aug 29 20:11:00 2004
++++ common.c Sat Apr 15 00:11:40 2006
@@ -85,7 +85,7 @@
if (datasrc->bytes_in_buffer == 0) {
if (! (*datasrc->fill_input_buffer) (cinfo))
-- err(1, __FUNCTION__": fill_input");
+- err(1, "%s: fill_input", __FUNCTION__);
+ err(1, "jpeg_getc: fill_input");
}
datasrc->bytes_in_buffer--;
return GETJOCTET(*datasrc->next_input_byte++);
-@@ -297,7 +297,7 @@
+@@ -308,7 +308,7 @@
dcts = malloc(bits * sizeof (short));
if (dcts == NULL) {
-- warn(__FUNCTION__": malloc");
+- warn("%s: malloc", __FUNCTION__);
+ warn("prepare_all: malloc");
return (-1);
}
-@@ -362,7 +362,7 @@
+@@ -374,7 +374,7 @@
if (pdcts != NULL) {
dcts = malloc(bits * sizeof (short));
if (dcts == NULL) {
-- warn(__FUNCTION__": malloc");
+- warn("%s: malloc", __FUNCTION__);
+ warn("prepare_normal: malloc");
return (-1);
}
}
-@@ -410,7 +410,7 @@
+@@ -422,7 +422,7 @@
/* XXX - wasteful */
back[comp] = calloc(off, sizeof (char));
if (back[comp] == NULL) {
-- warn(__FUNCTION__": calloc");
+- warn("%s: calloc", __FUNCTION__);
+ warn("prepare_jphide: calloc");
goto err;
}
}
-@@ -418,7 +418,7 @@
+@@ -430,7 +430,7 @@
if (pdcts != NULL) {
dcts = malloc(mbits * sizeof (short));
if (dcts == NULL) {
-- warn(__FUNCTION__": malloc");
+- warn("%s: malloc", __FUNCTION__);
+ warn("prepare_jphide: malloc");
goto err;
}