22 lines
845 B
Plaintext
22 lines
845 B
Plaintext
$OpenBSD: patch-growisofs_c,v 1.3 2008/01/26 02:21:28 jakemsr Exp $
|
|
--- growisofs.c.orig Thu Jan 17 22:18:18 2008
|
|
+++ growisofs.c Thu Jan 17 22:18:18 2008
|
|
@@ -2296,7 +2296,7 @@ int builtin_dd (int infd,int outfd,off64_t outoff)
|
|
fcntl (in_fd,F_SETFD,rval&~FD_CLOEXEC);
|
|
|
|
sprintf (str,"%d",in_fd);
|
|
- execlp (argv0,"-umount",str,in_device,NULL);
|
|
+ execlp (argv0,"-umount",str,in_device,(char *)NULL);
|
|
exit (FATAL_START(errno));
|
|
}
|
|
while (1)
|
|
@@ -2908,7 +2908,7 @@ int main (int argc, char *argv[])
|
|
fflush (stdout);
|
|
#if defined(__unix) || defined(__unix__)
|
|
setuid(getuid());
|
|
- execlp (mkisofs_argv[0],mkisofs_argv[0],"-version",NULL);
|
|
+ execlp (mkisofs_argv[0],mkisofs_argv[0],"-version",(char *)NULL);
|
|
#elif defined(_WIN32)
|
|
if (_spawnl (_P_WAIT,mkisofs_argv[0],
|
|
"mkisofs.exe","-version",NULL) != -1)
|