From: nekral-guest Date: Thu, 18 Mar 2010 00:02:45 +0000 (+0000) Subject: Fix typos. X-Git-Tag: 4.1.5~331 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11e132c8eb2d88abf7ab505911834ca5d39d645c;p=shadow Fix typos. --- diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index 9afe6468..5ca22ec5 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -256,7 +256,7 @@ static shadowtcb_status rmdir_leading(char *path) } if (rmdir(dir) != 0) { if (errno != ENOTEMPTY) { - fprintf(stderr, _("%s: Cannot removedirectory %s: %s\n"), Prog, dir, strerror(errno)); + fprintf(stderr, _("%s: Cannot remove directory %s: %s\n"), Prog, dir, strerror(errno)); ret = SHADOWTCB_FAILURE; } free(dir); @@ -464,7 +464,7 @@ shadowtcb_status shadowtcb_create(const char *name, uid_t uid) if (!getdef_bool("USE_TCB")) return SHADOWTCB_SUCCESS; if (stat(TCB_DIR, &tcbdir_stat) != 0) { - fprintf(stderr, _("%s: Cannot stat %s: %s\n"), Prog, tcbdir, strerror(errno)); + fprintf(stderr, _("%s: Cannot stat %s: %s\n"), Prog, TCB_DIR, strerror(errno)); return SHADOWTCB_FAILURE; } shadowgid = tcbdir_stat.st_gid;