summaryrefslogtreecommitdiffstats
path: root/isys/imount.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-08 03:00:53 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-08 03:00:53 +0000
commit459119c94529602d08de465b7ebfa4871d328081 (patch)
tree369a7eb643938d6d51ef6f2d0c46561e61dcc0ae /isys/imount.c
parent390977d3ee0ebc010168ce04573f63ae15458718 (diff)
downloadanaconda-459119c94529602d08de465b7ebfa4871d328081.tar.gz
anaconda-459119c94529602d08de465b7ebfa4871d328081.tar.xz
anaconda-459119c94529602d08de465b7ebfa4871d328081.zip
massive merge from taroon branch. changes are all over the place, but a
summary of looking through the diff is * clean up warnings, we build with -Wall -Werror here too * product.img stuff * max logical partitions enforcement * 1 TB max fs size * ethtool stuff * autopart in kickstart * driver disk fixes * RHEL upgrade stuff * network driver disks * variant pkgorder/tree splitting
Diffstat (limited to 'isys/imount.c')
-rw-r--r--isys/imount.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/isys/imount.c b/isys/imount.c
index d6416b146..4f5725373 100644
--- a/isys/imount.c
+++ b/isys/imount.c
@@ -8,6 +8,7 @@
#include <unistd.h>
#include "imount.h"
+#include "sundries.h"
#define _(foo) foo
@@ -19,7 +20,7 @@ int doPwMount(char * dev, char * where, char * fs, int rdonly, int istty,
int isnfs = 0;
char * mount_opt = NULL;
long int flag;
- char * chptr;
+ char * chptr __attribute__ ((unused));
if (!strcmp(fs, "nfs")) isnfs = 1;
@@ -71,7 +72,7 @@ int doPwMount(char * dev, char * where, char * fs, int rdonly, int istty,
/*logMessage("calling nfsmount(%s, %s, &flags, &extra_opts, &mount_opt)",
buf, where);*/
- if (nfsmount(buf, where, &flags, &extra_opts, &mount_opt)) {
+ if (nfsmount(buf, where, &flags, &extra_opts, &mount_opt, 0)) {
/*logMessage("\tnfsmount returned non-zero");*/
/*fprintf(stderr, "nfs mount failed: %s\n",
nfs_error());*/