summaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /util-linux/mount.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
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) {