15 lines
520 B
Plaintext
15 lines
520 B
Plaintext
|
$OpenBSD: patch-cdetach_c,v 1.1 2004/06/15 18:32:22 sturm Exp $
|
||
|
--- cdetach.c.orig 2004-06-09 15:24:39.000000000 +0200
|
||
|
+++ cdetach.c 2004-06-09 15:25:49.000000000 +0200
|
||
|
@@ -40,8 +40,8 @@ main(argc,argv)
|
||
|
ap.name=argv[1];
|
||
|
ap.uid=getuid();
|
||
|
if ((status = callrpc("localhost",ADM_PROGRAM,ADM_VERSION,
|
||
|
- ADMPROC_DETACH,xdr_cfs_detachargs,&ap,
|
||
|
- xdr_cfsstat,&ret)) !=0) {
|
||
|
+ ADMPROC_DETACH,xdr_cfs_detachargs,(char *)&ap,
|
||
|
+ xdr_cfsstat,(char *)&ret)) !=0) {
|
||
|
clnt_perrno(status);
|
||
|
exit(1);
|
||
|
}
|