diff options
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/9pfuse/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/main.c b/src/cmd/9pfuse/main.c index 8fa56ff4..cbce3ffd 100644 --- a/src/cmd/9pfuse/main.c +++ b/src/cmd/9pfuse/main.c @@ -34,8 +34,11 @@ * 0100000 in the kernel) at each file open. FUSE is all too * happy to pass the flag onto us, where we'd have no idea what * to do with it if we trusted glibc. + * + * On ARM however, the O_LARGEFILE is set correctly. */ -#if defined(__linux__) + +#if defined(__linux__) && !defined(__arm__) # undef O_LARGEFILE # define O_LARGEFILE 0100000 #endif |