$OpenBSD: patch-src_commands_rpm2cpio_c,v 1.1 2011/06/21 14:32:56 ajacoutot Exp $
--- src/commands/rpm2cpio.c.orig	Tue Jun 21 16:18:10 2011
+++ src/commands/rpm2cpio.c	Tue Jun 21 16:18:20 2011
@@ -128,7 +128,7 @@ main (int argc, char **argv)
 		archive_command = "bzip2 -dc";
 	fclose (stream);
 
-	command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | cpio %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str);
+	command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | gcpio %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str);
 
 	return system (command);
 }
