summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth_des.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/rpc/svc_auth_des.c')
-rw-r--r--lib/libc/rpc/svc_auth_des.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_auth_des.c b/lib/libc/rpc/svc_auth_des.c
index de4d1b4..bd45f20 100644
--- a/lib/libc/rpc/svc_auth_des.c
+++ b/lib/libc/rpc/svc_auth_des.c
@@ -271,7 +271,7 @@ _svcauth_des(rqst, msg)
debug("timestamp before last seen");
return (AUTH_REJECTEDVERF); /* replay */
}
- (void) gettimeofday(&current, (struct timezone *)NULL);
+ (void)gettimeofday(&current, NULL);
current.tv_sec -= window; /* allow for expiration */
if (!BEFORE(&current, &timestamp)) {
debug("timestamp expired");
OpenPOWER on IntegriCloud