From 6081da67e249d3437976906b0f263b15ff5f25f8 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 5 Oct 2008 11:12:49 +0000 Subject: [PATCH] it is failed not faild git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1578 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_open.c | 2 +- src/rrd_thread_safe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rrd_open.c b/src/rrd_open.c index a4ad411..4144369 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -125,7 +125,7 @@ rrd_open(const char *file_name, FILE **in_file, rrd_t *rrd, int rdwr) MYFREAD(rrd->stat_head, stat_head_t, 1) /* lets see if the first read worked */ if (ferror( *in_file ) || feof(*in_file)) { - rrd_set_error("reading the cookie off %s faild",file_name); + rrd_set_error("reading the cookie off %s failed",file_name); fclose(*in_file); return(-1); } diff --git a/src/rrd_thread_safe.c b/src/rrd_thread_safe.c index ff21047..3b272ee 100644 --- a/src/rrd_thread_safe.c +++ b/src/rrd_thread_safe.c @@ -52,7 +52,7 @@ struct rrd_context *rrd_get_context(void) { const char *rrd_strerror(int err) { struct rrd_context *ctx = rrd_get_context(); if (strerror_r(err, ctx->lib_errstr, ctx->errlen)) - return "strerror_r faild. sorry!"; + return "strerror_r failed. sorry!"; else return ctx->lib_errstr; } -- 2.30.2