diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2016-12-14 21:13:10 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2016-12-14 21:13:10 +0000 |
| commit | 9dad1250d735a8ec06a52d7512ad0a0b2f513645 (patch) | |
| tree | a761da4850d74c67a70e358136eb988fa1021bf4 /bin/df | |
| parent | bdad1bcea4fdce96a2ce4a17afd3881fd7eb62cc (diff) | |
Notes
Diffstat (limited to 'bin/df')
| -rw-r--r-- | bin/df/df.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index e07df3270356..3ed7c1e8f49c 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -251,7 +251,7 @@ main(int argc, char *argv[]) free(mntpath); continue; } - if (mount(fstype, mntpt, MNT_RDONLY, + if (mount(fstype, mntpt, MNT_RDONLY|MNT_NOEXEC, &mdev) != 0) { xo_warn("%s", *argv); rv = 1; |
