diff options
Diffstat (limited to 'util-linux/umount.c')
-rw-r--r-- | util-linux/umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 9fa3cd2d3..00f125334 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -15,7 +15,7 @@ | |||
15 | /* 16.12.2006, Sampo Kellomaki (sampo@iki.fi) | 15 | /* 16.12.2006, Sampo Kellomaki (sampo@iki.fi) |
16 | * dietlibc-0.30 does not have implementation of getmntent_r() */ | 16 | * dietlibc-0.30 does not have implementation of getmntent_r() */ |
17 | static struct mntent *getmntent_r(FILE* stream, struct mntent* result, | 17 | static struct mntent *getmntent_r(FILE* stream, struct mntent* result, |
18 | char* buffer ATTRIBUTE_UNUSED, int bufsize ATTRIBUTE_UNUSED) | 18 | char* buffer UNUSED_PARAM, int bufsize UNUSED_PARAM) |
19 | { | 19 | { |
20 | struct mntent* ment = getmntent(stream); | 20 | struct mntent* ment = getmntent(stream); |
21 | return memcpy(result, ment, sizeof(*ment)); | 21 | return memcpy(result, ment, sizeof(*ment)); |
@@ -37,7 +37,7 @@ static struct mntent *getmntent_r(FILE* stream, struct mntent* result, | |||
37 | //#define MNT_DETACH 0x00000002 /* Just detach from the tree */ | 37 | //#define MNT_DETACH 0x00000002 /* Just detach from the tree */ |
38 | 38 | ||
39 | int umount_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 39 | int umount_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
40 | int umount_main(int argc ATTRIBUTE_UNUSED, char **argv) | 40 | int umount_main(int argc UNUSED_PARAM, char **argv) |
41 | { | 41 | { |
42 | int doForce; | 42 | int doForce; |
43 | char *const path = xmalloc(PATH_MAX + 2); /* to save stack */ | 43 | char *const path = xmalloc(PATH_MAX + 2); /* to save stack */ |