virterror: Add a missing 'break' for VIR_ERR_INVALID_SECRET

This commit is contained in:
Cole Robinson 2009-10-27 10:01:06 -04:00
parent 33b35313a3
commit 66c6cc7c5e

View File

@ -1082,6 +1082,7 @@ virErrorMsg(virErrorNumber error, const char *info)
errmsg = _("Invalid secret");
else
errmsg = _("Invalid secret: %s");
break;
case VIR_ERR_NO_SECRET:
if (info == NULL)
errmsg = _("Secret not found");