diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-09-04 09:50:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 09:50:00 +0000 |
commit | b5b455ab9e7f858ea8e9cd6f62152e97e4ce34b3 (patch) | |
tree | 15038cd1f063f1a2b316db9bb43e6752b101276a | |
parent | 3bd77db41229b731b2bd4eef244f0561e88af287 (diff) | |
parent | f2b104aa68a0dff3f0bf6b481f9724722cb01939 (diff) | |
download | genimage-b5b455ab9e7f858ea8e9cd6f62152e97e4ce34b3.tar.gz genimage-b5b455ab9e7f858ea8e9cd6f62152e97e4ce34b3.tar.xz |
Merge pull request #69 from thirtythreeforty/fix-67
Prefix mountpoints with mp- to avoid conflict with "root"
-rw-r--r-- | genimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -392,7 +392,7 @@ static struct mountpoint *add_mountpoint(const char *path) path_sanitized = sanitize_path(path); mp = xzalloc(sizeof(*mp)); mp->path = strdup(path); - xasprintf(&mp->mountpath, "%s/%s", tmppath(), path_sanitized); + xasprintf(&mp->mountpath, "%s/mp-%s", tmppath(), path_sanitized); list_add_tail(&mp->list, &mountpoints); free(path_sanitized); |