Displaying 1 result from an estimated 1 matches for "104f35e".
Did you mean:
104f3d5e
2011 Aug 30
0
[PATCH] include: [mntent.h] Add MNTTYPE_SWAP definition
...:
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