From 39d8d7af028c1c209bcce703f9c2d86b62a01890 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@1578 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_open.c | 2 +- program/src/rrd_thread_safe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/src/rrd_open.c b/program/src/rrd_open.c index a4ad4110..41443698 100644 --- a/program/src/rrd_open.c +++ b/program/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/program/src/rrd_thread_safe.c b/program/src/rrd_thread_safe.c index ff210478..3b272ee9 100644 --- a/program/src/rrd_thread_safe.c +++ b/program/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