summaryrefslogtreecommitdiffstats
path: root/exfat2img
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--exfat2img/exfat2img.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exfat2img/exfat2img.c b/exfat2img/exfat2img.c
index bd9db44..e75b42f 100644
--- a/exfat2img/exfat2img.c
+++ b/exfat2img/exfat2img.c
@@ -926,7 +926,7 @@ int main(int argc, char * const argv[])
}
memset(&ui, 0, sizeof(ui));
- snprintf(ui.dev_name, sizeof(ui.dev_name), "%s", blkdev_path);
+ ui.dev_name = blkdev_path;
if (restore)
ui.writeable = true;
else