From 37716a53f77e53afe99695f838545374beabc0e3 Mon Sep 17 00:00:00 2001 From: neilbrown Date: Wed, 26 Mar 2003 03:11:56 +0000 Subject: [PATCH] typo --- ChangeLog | 4 ++++ utils/mountd/rmtab.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 */ -- 2.39.5