diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-20 01:29:09 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-20 01:29:09 +0000 |
| commit | 1a26836496bef17fc189777173f87b016da3a76b (patch) | |
| tree | a82b3c0dbf58fda89ca3689ae9180d577b7dffb6 /src/os/freebsd-os_mount_devtmpfs.c | |
| parent | 7286b1641527a9a124425acf33ae3f67354029f1 (diff) | |
| download | s6-linux-init-1a26836496bef17fc189777173f87b016da3a76b.tar.gz | |
FreeBSD fixes
Diffstat (limited to 'src/os/freebsd-os_mount_devtmpfs.c')
| -rw-r--r-- | src/os/freebsd-os_mount_devtmpfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/freebsd-os_mount_devtmpfs.c b/src/os/freebsd-os_mount_devtmpfs.c index 033a4c4..b401243 100644 --- a/src/os/freebsd-os_mount_devtmpfs.c +++ b/src/os/freebsd-os_mount_devtmpfs.c @@ -1,5 +1,7 @@ /* ISC license. */ +#include <skalibs/nonposix.h> + #include <sys/param.h> #include <sys/mount.h> @@ -7,5 +9,5 @@ int os_mount_devtmpfs (char const *point) { - return mount("devfs", point, "devfs", MNT_NOEXEC | MNT_NOSUID, "") ; + return mount("devfs", point, MNT_NOEXEC | MNT_NOSUID, "") ; } |
