Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@xxxxxxxxx> --- daemon/automount.c | 4 ++-- daemon/state.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon/automount.c b/daemon/automount.c index 3afa860..ca5e090 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -945,7 +945,7 @@ static int set_log_priority(const char *path, int priority) if (priority > LOG_DEBUG || priority < LOG_EMERG) { fprintf(stderr, "Log priority %d is invalid.\n", priority); - fprintf(stderr, "Please spcify a number in the range 0-7.\n"); + fprintf(stderr, "Please specify a number in the range 0-7.\n"); return -1; } @@ -1078,7 +1078,7 @@ int do_expire(struct autofs_point *ap, const char *name, int namelen) } if (!len) { - crit(ap->logopt, "path to long for buffer"); + crit(ap->logopt, "path too long for buffer"); return 1; } diff --git a/daemon/state.c b/daemon/state.c index ed533da..5d81438 100644 --- a/daemon/state.c +++ b/daemon/state.c @@ -575,7 +575,7 @@ static unsigned int st_readmap(struct autofs_point *ap) ra = malloc(sizeof(struct readmap_args)); if (!ra) { - error(ap->logopt, "failed to malloc reamap cond struct"); + error(ap->logopt, "failed to malloc readmap cond struct"); /* It didn't work: return to ready */ st_ready(ap); if (!ap->submount) @@ -600,7 +600,7 @@ static unsigned int st_readmap(struct autofs_point *ap) status = pthread_create(&thid, &th_attr_detached, do_readmap, ra); if (status) { - error(ap->logopt, "read map thread create failed"); + error(ap->logopt, "readmap thread create failed"); st_readmap_cleanup(ra); free(ra); /* It didn't work: return to ready */ -- 2.5.5 -- To unsubscribe from this list: send the line "unsubscribe autofs" in