summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a55f348)
raw | patch | inline | side by side (parent: a55f348)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 5 Oct 2008 11:12:49 +0000 (11:12 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sun, 5 Oct 2008 11:12:49 +0000 (11:12 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1578 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c | patch | blob | history | |
src/rrd_thread_safe.c | patch | blob | history |
diff --git a/src/rrd_open.c b/src/rrd_open.c
index a4ad41100281eccb97855296ca953ffb47b1a33b..41443698234c64fd10134ea866e86e82c8cc4ed7 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
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 ff21047831c642d1f34e436c9106cb6fd32cc648..3b272ee9050771a2978ca61e4b8b1c067e072a8b 100644 (file)
--- a/src/rrd_thread_safe.c
+++ b/src/rrd_thread_safe.c
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;
}