summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cifs.upcall.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cifs.upcall.c b/cifs.upcall.c
index 7341c2f..7a8c374 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -1290,7 +1290,6 @@ int main(const int argc, char *const argv[])
DATA_BLOB sess_key = data_blob_null;
key_serial_t key = 0;
size_t datalen;
- unsigned int have;
long rc = 1;
int c;
bool try_dns = false, legacy_uid = false , env_probe = true;
@@ -1398,7 +1397,7 @@ int main(const int argc, char *const argv[])
if ((arg->have & DKD_MUSTHAVE_SET) != DKD_MUSTHAVE_SET) {
syslog(LOG_ERR, "unable to get necessary params from key "
- "description (0x%x)", have);
+ "description (0x%x)", arg->have);
rc = 1;
goto out;
}