Code

it is failed not faild
[rrdtool-all.git] / program / src / rrd_open.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);
     }