projects
/
oweals
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8fae3
)
block: don't truncate mountpoint path
author
Daniel Golle
<daniel@makrotopia.org>
Thu, 21 Jul 2016 01:19:22 +0000
(
03:19
+0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Thu, 21 Jul 2016 02:11:28 +0000
(
04:11
+0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c
patch
|
blob
|
history
diff --git
a/block.c
b/block.c
index 85c5b586f5aed62db2bed1c8c64da4c1ec85b7b1..a06e2009ff97dc220c0904c97debda05745f211f 100644
(file)
--- a/
block.c
+++ b/
block.c
@@
-753,7
+753,7
@@
static int mount_device(struct blkid_struct_probe *pr, int hotplug)
}
if (anon_mount) {
- char target[
] = "/mnt/mmcblk123"
;
+ char target[
32]
;
int err = 0;
snprintf(target, sizeof(target), "/mnt/%s", device);