summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-14 06:19:41 +0000
committerEric Andersen2000-07-14 06:19:41 +0000
commite7413a9cde8da7a54349a0641d0b1e7cbc0e290a (patch)
treede65d104a5ec0715d77663f9a4478d9e6ec20b58 /mount.c
parentd537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (diff)
downloadbusybox-e7413a9cde8da7a54349a0641d0b1e7cbc0e290a.zip
busybox-e7413a9cde8da7a54349a0641d0b1e7cbc0e290a.tar.gz
A couple of minor warning cleanups.
-Erik
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 455e4a1..addeb09 100644
--- a/mount.c
+++ b/mount.c
@@ -203,7 +203,7 @@ do_mount(char *specialfile, char *dir, char *filesystemtype,
/* Seperate standard mount options from the nonstandard string options */
static void
-parse_mount_options(char *options, unsigned long *flags, char *strflags)
+parse_mount_options(char *options, int *flags, char *strflags)
{
while (options) {
int gotone = FALSE;
@@ -342,7 +342,7 @@ extern int mount_main(int argc, char **argv)
char string_flags_buf[1024] = "";
char *string_flags = string_flags_buf;
char *extra_opts = string_flags_buf;
- unsigned long flags = 0;
+ int flags = 0;
char *filesystemType = "auto";
char *device = NULL;
char *directory = NULL;