maximilian attems
2011-Aug-30 00:29 UTC
[klibc] [PATCH] include: [mntent.h] Add MNTTYPE_SWAP definition
It is used by util-linux mount code: mount.c:1004:30: error: ?MNTTYPE_SWAP? undeclared (first use in this function) .. Signed-off-by: maximilian attems <max at stro.at> --- usr/include/mntent.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/usr/include/mntent.h b/usr/include/mntent.h index 210610c..104f35e 100644 --- a/usr/include/mntent.h +++ b/usr/include/mntent.h @@ -1,6 +1,8 @@ #ifndef _MNTENT_H #define _MNTENT_H 1 +#define MNTTYPE_SWAP "swap" + struct mntent { char *mnt_fsname; /* name of mounted file system */ char *mnt_dir; /* file system path prefix */ -- 1.7.5.4
Reasonably Related Threads
- initial mntent.h, mount features, ipconfig fixes
- [git pull v2] initial mntent.h, mount features, ipconfig fixes
- [RFC] klibc add minimal mntent.h
- [PATCH] kinit: Add ability to mount filesystems via /etc/fstab or cmdline
- Re: [PATCH] Added btrfs support for vfs_min_size.