Code

it is failed not faild
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 5 Oct 2008 11:12:49 +0000 (11:12 +0000)
committeroetiker <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@1578 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_open.c
program/src/rrd_thread_safe.c

index a4ad41100281eccb97855296ca953ffb47b1a33b..41443698234c64fd10134ea866e86e82c8cc4ed7 100644 (file)
@@ -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);
     }        
index ff21047831c642d1f34e436c9106cb6fd32cc648..3b272ee9050771a2978ca61e4b8b1c067e072a8b 100644 (file)
@@ -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; 
 }