Fix a 'const' misuse warning.
authorNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:31:11 +0000 (18:31 +1100)
committerNeil Brown <neilb@suse.de>
Fri, 16 Mar 2007 07:31:11 +0000 (18:31 +1100)
utils/mount/nfsumount.c

index 381ca6e..1d10cc6 100644 (file)
@@ -190,7 +190,7 @@ int del_mtab(const char *spec, const char *node)
 /*
  * Returns 1 if everything went well, else 0.
  */
-int _nfsumount(const char *spec, const char *opts)
+int _nfsumount(const char *spec, char *opts)
 {
        char *hostname;
        char *dirname;