aboutsummaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 06:19:41 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-14 06:19:41 +0000
commit91be17a223fe16d903abe5dcd5a89b53c493d7c4 (patch)
treede65d104a5ec0715d77663f9a4478d9e6ec20b58 /mount.c
parented2dfb60ee4a99850e9e68fb27512a0bab4ba992 (diff)
downloadbusybox-w32-91be17a223fe16d903abe5dcd5a89b53c493d7c4.tar.gz
busybox-w32-91be17a223fe16d903abe5dcd5a89b53c493d7c4.tar.bz2
busybox-w32-91be17a223fe16d903abe5dcd5a89b53c493d7c4.zip
A couple of minor warning cleanups.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@849 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mount.c b/mount.c
index 455e4a1c1..addeb0925 100644
--- a/mount.c
+++ b/mount.c
@@ -203,7 +203,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
203 203
204/* Seperate standard mount options from the nonstandard string options */ 204/* Seperate standard mount options from the nonstandard string options */
205static void 205static void
206parse_mount_options(char *options, unsigned long *flags, char *strflags) 206parse_mount_options(char *options, int *flags, char *strflags)
207{ 207{
208 while (options) { 208 while (options) {
209 int gotone = FALSE; 209 int gotone = FALSE;
@@ -342,7 +342,7 @@ extern int mount_main(int argc, char **argv)
342 char string_flags_buf[1024] = ""; 342 char string_flags_buf[1024] = "";
343 char *string_flags = string_flags_buf; 343 char *string_flags = string_flags_buf;
344 char *extra_opts = string_flags_buf; 344 char *extra_opts = string_flags_buf;
345 unsigned long flags = 0; 345 int flags = 0;
346 char *filesystemType = "auto"; 346 char *filesystemType = "auto";
347 char *device = NULL; 347 char *device = NULL;
348 char *directory = NULL; 348 char *directory = NULL;