diff options
Diffstat (limited to 'inspector/virt-inspector.c')
-rw-r--r-- | inspector/virt-inspector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector.c b/inspector/virt-inspector.c index 86d06543..ee7c9c38 100644 --- a/inspector/virt-inspector.c +++ b/inspector/virt-inspector.c @@ -632,7 +632,7 @@ canonicalize (char *dev) (dev[5] == 'h' || dev[5] == 'v') && dev[6] == 'd' && c_isalpha (dev[7]) && - c_isdigit (dev[8])) + (c_isdigit (dev[8]) || dev[8] == '\0')) dev[5] = 's'; } |