On 06/23/2010 04:16 AM, Matthias Bolte wrote:
         case VIR_ERR_NO_SUPPORT:
 >               if (info == NULL)

Would it be practical to expand this with category messages like?

    case VIR_ERR_NO_SUPPORT_STORAGE:
        if (info == NULL)
errmsg = _("this function is not supported by the storage driver");
          ...

    case VIR_ERR_NO_SUPPORT_NETWORK:
        if (info == NULL)
errmsg = _("this function is not supported by the network driver");
          ...

Or maybe figure out a "%s" replaceable keyword for network/storage/hypervisor/etc above?

Regards and best wishes,

Justin Clift

--
Salasaga  -  Open Source eLearning IDE
              http://www.salasaga.org

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to