From: Michael Tremer Date: Sat, 19 Nov 2022 15:00:37 +0000 (+0000) Subject: mount: Fix argument order for bind-mounting device nodes X-Git-Tag: 0.9.28~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e3b4ffe30868e5f3dbc1db90511b9e65c5014a;p=pakfire.git mount: Fix argument order for bind-mounting device nodes Fixes: #12987 Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/mount.c b/src/libpakfire/mount.c index a94ebce53..6e63db18a 100644 --- a/src/libpakfire/mount.c +++ b/src/libpakfire/mount.c @@ -273,7 +273,7 @@ MOUNT: } // Create a bind-mount over the file - r = pakfire_mount(pakfire, path, devnode->path, "bind", MS_BIND, NULL); + r = pakfire_mount(pakfire, devnode->path, path, "bind", MS_BIND, NULL); if (r) return r; }