X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Ftest%2Fdiscover-test.c;h=b099b59128b7bbec99f34845a708d89dc45ea9a7;hp=576f293f6b92881f2944baca4681cbcfc288a307;hb=79f738d13fa491abac82c77ac42f59aef4217b1d;hpb=bc4114e2235163bd88456c25cc0a908d86151f93 diff --git a/ui/test/discover-test.c b/ui/test/discover-test.c index 576f293..b099b59 100644 --- a/ui/test/discover-test.c +++ b/ui/test/discover-test.c @@ -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"; }