fix compiler warning
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 21:35:04 +0000 (07:35 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Jul 2012 21:35:04 +0000 (07:35 +1000)
lib/libnfs-zdr.c

index e439249abb7b67cd506a94960b1cc96e3fc1082b..a159632b989e047cb06e622ffb93ab1d98884414 100644 (file)
@@ -286,7 +286,7 @@ static bool_t libnfs_opaque_auth(ZDR *zdrs, struct opaque_auth *auth)
                return FALSE;
        }
 
-       if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, &auth->oa_length)) {
+       if (!libnfs_zdr_bytes(zdrs, &auth->oa_base, &auth->oa_length, auth->oa_length)) {
                return FALSE;
        }