projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37518f
)
ignore mtab on android
author
Daniel Rosenberg
<drosen@google.com>
Thu, 3 Oct 2024 21:52:22 +0000
(14:52 -0700)
committer
Bernd Schubert
<bernd.schubert@fastmail.fm>
Fri, 11 Oct 2024 10:55:18 +0000
(12:55 +0200)
Updating the mtab on Android fails due to differences in toybox's mount
command. Setting IGNORE_MTAB avoids that issue.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
lib/mount_util.c
patch
|
blob
|
history
diff --git
a/lib/mount_util.c
b/lib/mount_util.c
index 02a84ef51a5b7c75c5552cd88952c5b6d7b0cdb8..089ca4548662d16ebb609086c2d227f5d2a2247a 100644
(file)
--- a/
lib/mount_util.c
+++ b/
lib/mount_util.c
@@
-21,7
+21,7
@@
#include <fcntl.h>
#include <limits.h>
#include <paths.h>
-#if !defined( __NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+#if !defined( __NetBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
&& !defined(__ANDROID__)
#include <mntent.h>
#else
#define IGNORE_MTAB