22 lines
963 B
Plaintext
22 lines
963 B
Plaintext
$OpenBSD: patch-plug-ins_common_bz2_c,v 1.1 2002/12/29 00:10:47 pvalchev Exp $
|
|
--- plug-ins/common/bz2.c.orig Sat Dec 28 14:57:07 2002
|
|
+++ plug-ins/common/bz2.c Sat Dec 28 14:57:21 2002
|
|
@@ -306,7 +306,7 @@ save_image (gchar *filename,
|
|
g_message ("bz2: dup2 failed: %s\n", g_strerror (errno));
|
|
|
|
/* and bzip2 into it */
|
|
- execlp ("bzip2", "bzip2", "-cf", tmpname, NULL);
|
|
+ execlp ("bzip2", "bzip2", "-cf", tmpname, (void *)NULL);
|
|
g_message ("bz2: exec failed: bzip2: %s\n", g_strerror (errno));
|
|
g_free (tmpname);
|
|
_exit (127);
|
|
@@ -385,7 +385,7 @@ load_image (gchar *filename,
|
|
g_message ("bz2: dup2 failed: %s\n", g_strerror (errno));
|
|
|
|
/* and unzip into it */
|
|
- execlp ("bzip2", "bzip2", "-cfd", filename, NULL);
|
|
+ execlp ("bzip2", "bzip2", "-cfd", filename, (void *)NULL);
|
|
g_message ("bz2: exec failed: bunzip2: %s\n", g_strerror (errno));
|
|
g_free (tmpname);
|
|
_exit (127);
|