When walking a pathname to verify each component, the debugging
message produced when the terminal component is not a directory is
misleading.

Signed-off-by: Chuck Lever <[email protected]>
---

 src/fedfsd/svc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/fedfsd/svc.c b/src/fedfsd/svc.c
index db1d5b9..e99bd4c 100644
--- a/src/fedfsd/svc.c
+++ b/src/fedfsd/svc.c
@@ -255,7 +255,7 @@ fedfsd_pathwalk_check_term(const char *pathname)
                        __func__);
                return FEDFS_ERR_EXIST;
        case FEDFS_ERR_INVAL:
-               xlog(D_CALL, "%s: Pathname ends with a non-existant object",
+               xlog(D_CALL, "%s: Pathname does not end with a directory",
                        __func__);
                return FEDFS_OK;
        case FEDFS_ERR_NOTJUNCT:


_______________________________________________
fedfs-utils-devel mailing list
[email protected]
https://oss.oracle.com/mailman/listinfo/fedfs-utils-devel

Reply via email to