]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
typo
authorneilbrown <neilbrown>
Wed, 26 Mar 2003 03:11:56 +0000 (03:11 +0000)
committerneilbrown <neilbrown>
Wed, 26 Mar 2003 03:11:56 +0000 (03:11 +0000)
ChangeLog
utils/mountd/rmtab.c

index 8b3740b1958c22d2edb9b326981ee8cd52db140b..d587a2dc4b2b3603711ed8a0ba53330c78b71cfb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
+       *utils/mountd/rmtab.c(slink_sfe_rename): real_newpath should be
+       "const char*", not "char"
+       
 2003-03-26 NeilBrown <neilb@cse.unsw.edu.au>
 
        * configure.in (VERSION): Set to "1.0.3".
index 869b5f88fd791881eee6d01951cdfe1185222b9d..8c4a5a978de904888bf9a5495b52095774fffeac 100644 (file)
@@ -32,7 +32,7 @@ slink_safe_rename(const char * oldpath, const char * newpath)
        int r;
        struct stat s;
        char slink_path[PATH_MAX];
-       char real_newpath = newpath;
+       const char *real_newpath = newpath;
 
        if ((lstat(newpath, &s) == 0) && S_ISLNK(s.st_mode)) {
                /* New path is a symbolic link, do not destroy but follow */