summaryrefslogtreecommitdiffstats
path: root/exfat2img/exfat2img.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:36:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:36:08 +0000
commitf1b69cec3c86b1a52a8cc8980d139105c08518a9 (patch)
tree375566cab235df08966d399e21d0238a0ddc9bd1 /exfat2img/exfat2img.c
parentAdding upstream version 1.2.4. (diff)
downloadexfatprogs-f1b69cec3c86b1a52a8cc8980d139105c08518a9.tar.xz
exfatprogs-f1b69cec3c86b1a52a8cc8980d139105c08518a9.zip
Adding upstream version 1.2.5.upstream/1.2.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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