]> git.ozlabs.org Git - petitboot/blobdiff - ui/test/discover-test.c
Merge pull request #11 from open-power/coverity
[petitboot] / ui / test / discover-test.c
index 576f293f6b92881f2944baca4681cbcfc288a307..b099b59128b7bbec99f34845a708d89dc45ea9a7 100644 (file)
@@ -8,10 +8,14 @@ static const char *device_type_string(enum device_type type)
        switch (type) {
        case DEVICE_TYPE_DISK:
                return "disk";
+       case DEVICE_TYPE_USB:
+               return "usb";
        case DEVICE_TYPE_NETWORK:
                return "network";
        case DEVICE_TYPE_OPTICAL:
                return "optical";
+       case DEVICE_TYPE_ANY:
+               return "any";
        case DEVICE_TYPE_UNKNOWN:
                return "unknown";
        }