diff options
Diffstat (limited to 'trans/mtab.c')
-rw-r--r-- | trans/mtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trans/mtab.c b/trans/mtab.c index 744c435e..da83e6fc 100644 --- a/trans/mtab.c +++ b/trans/mtab.c @@ -564,7 +564,7 @@ map_device_to_path (const char *device, char **path) else if (looks_like_block_device (device)) asprintf (path, "/dev/%s", device); else - *path = strdup ("none"); + *path = strdup (device); if (! *path) return ENOMEM; |