]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
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 381ca6e344e0bdf13d21a1760a651597f8777325..1d10cc689b5c46b0d4d55838a389cd39be5fb52b 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;