aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 8a1f4a11a..098e63663 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -3,7 +3,7 @@
3 * Mini mount implementation for busybox 3 * Mini mount implementation for busybox
4 * 4 *
5 * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>. 5 * Copyright (C) 1995, 1996 by Bruce Perens <bruce@pixar.com>.
6 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 6 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
7 * 7 *
8 * This program is free software; you can redistribute it and/or modify 8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by 9 * it under the terms of the GNU General Public License as published by
@@ -27,8 +27,8 @@
27 * 27 *
28 * 1999-10-07 Erik Andersen <andersen@codepoet.org>. 28 * 1999-10-07 Erik Andersen <andersen@codepoet.org>.
29 * Rewrite of a lot of code. Removed mtab usage (I plan on 29 * Rewrite of a lot of code. Removed mtab usage (I plan on
30 * putting it back as a compile-time option some time), 30 * putting it back as a compile-time option some time),
31 * major adjustments to option parsing, and some serious 31 * major adjustments to option parsing, and some serious
32 * dieting all around. 32 * dieting all around.
33 * 33 *
34 * 1999-11-06 mtab suppport is back - andersee 34 * 1999-11-06 mtab suppport is back - andersee
@@ -40,8 +40,8 @@
40 * Rewrote fstab while loop and lower mount section. Can now do 40 * Rewrote fstab while loop and lower mount section. Can now do
41 * single mounts from fstab. Can override fstab options for single 41 * single mounts from fstab. Can override fstab options for single
42 * mount. Common mount_one call for single mounts and 'all'. Fixed 42 * mount. Common mount_one call for single mounts and 'all'. Fixed
43 * mtab updating and stale entries. Removed 'remount' default. 43 * mtab updating and stale entries. Removed 'remount' default.
44 * 44 *
45 */ 45 */
46 46
47#include <limits.h> 47#include <limits.h>
@@ -289,7 +289,7 @@ static int mount_one(char *blockDevice, char *directory, char *filesystemType,
289 } 289 }
290 290
291 if (read_proc && !status) { 291 if (read_proc && !status) {
292 292
293 f = bb_xfopen("/proc/filesystems", "r"); 293 f = bb_xfopen("/proc/filesystems", "r");
294 294
295 while (fgets(buf, sizeof(buf), f) != NULL) { 295 while (fgets(buf, sizeof(buf), f) != NULL) {