Whamcloud - gitweb
LU-14462 gss: fix support for namespace in lgss_keyring
[fs/lustre-release.git] / lustre / utils / gss / gss_util.c
index d5974d0..7b9a9ff 100644 (file)
@@ -264,7 +264,7 @@ int gssd_acquire_cred(char *server_name, gss_cred_id_t *cred,
                                target_name, &pbuf, NULL);
                if (ignore_maj_stat == GSS_S_COMPLETE) {
                        printerr(0, "Unable to obtain credentials for '%.*s'\n",
-                                pbuf.length, pbuf.value);
+                                (int) pbuf.length, (char *) pbuf.value);
                        ignore_maj_stat = gss_release_buffer(&ignore_min_stat,
                                                             &pbuf);
                }