diff options
Diffstat (limited to 'src/device')
-rw-r--r-- | src/device/device_util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c index 762f0e76ff..03ba43dc4d 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -274,6 +274,9 @@ const char *dev_path(device_t dev) memcpy(buffer, "<null>", 7); } else { switch(dev->path.type) { + case DEVICE_PATH_NONE: + memcpy(buffer, "NONE", 5); + break; case DEVICE_PATH_ROOT: memcpy(buffer, "Root Device", 12); break; |