From: neilbrown Date: Wed, 26 Mar 2003 03:11:56 +0000 (+0000) Subject: typo X-Git-Tag: nfs-utils-1-0-3~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=37716a53f77e53afe99695f838545374beabc0e3;p=nfs-utils.git typo --- diff --git a/ChangeLog b/ChangeLog index 8b3740b..d587a2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-03-26 NeilBrown + *utils/mountd/rmtab.c(slink_sfe_rename): real_newpath should be + "const char*", not "char" + 2003-03-26 NeilBrown * configure.in (VERSION): Set to "1.0.3". diff --git a/utils/mountd/rmtab.c b/utils/mountd/rmtab.c index 869b5f8..8c4a5a9 100644 --- a/utils/mountd/rmtab.c +++ b/utils/mountd/rmtab.c @@ -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 */