git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1578
a5681a0c-68f1-0310-ab6d-
d61299d08faa
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);
}
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;
}