diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c index a19e16ad05..e9cc972ae4 100644 --- a/src/afs/afs_pioctl.c +++ b/src/afs/afs_pioctl.c @@ -683,7 +683,6 @@ afs_xioctl(void) #if defined(AFS_OSF_ENV) || defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV) return (code); #endif -return 0; } #endif /* AFS_SGI_ENV */ #endif /* AFS_HPUX102_ENV */ diff --git a/src/auth/ktc.c b/src/auth/ktc.c index f9952a9670..5395d82146 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -1622,7 +1622,7 @@ ktc_curpag(void) afs_int32 pag; /* now setup for the pioctl */ - iob.in = -1; + iob.in = NULL; iob.in_size = 0; iob.out = &pag; iob.out_size = sizeof(afs_int32);