diff --git a/src/libvirt.c b/src/libvirt.c index be1766880f298d4602093dfc085d8a8e58a54446..9d50c92a9fbe8f91cd512b345b10cf40a40d583b 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -159,7 +159,7 @@ static int virConnectAuthCallbackDefault(virConnectCredentialPtr cred, case VIR_CRED_AUTHNAME: case VIR_CRED_ECHOPROMPT: case VIR_CRED_REALM: - if (printf("%s:", cred[i].prompt) < 0) + if (printf("%s: ", cred[i].prompt) < 0) return -1; if (fflush(stdout) != 0) return -1; @@ -178,7 +178,7 @@ static int virConnectAuthCallbackDefault(virConnectCredentialPtr cred, case VIR_CRED_PASSPHRASE: case VIR_CRED_NOECHOPROMPT: - if (printf("%s:", cred[i].prompt) < 0) + if (printf("%s: ", cred[i].prompt) < 0) return -1; if (fflush(stdout) != 0) return -1;