Code

debian/patches/implicit-decl-fix:
[pkg-rrdtool.git] / debian / patches / typos
1 --- a/src/rrd_open.c
2 +++ b/src/rrd_open.c
3 @@ -125,7 +125,7 @@
4      MYFREAD(rrd->stat_head, stat_head_t,  1)
5      /* lets see if the first read worked */
6      if (ferror( *in_file ) || feof(*in_file)) {
7 -        rrd_set_error("reading the cookie off %s faild",file_name);
8 +        rrd_set_error("reading the cookie off %s failed",file_name);
9          fclose(*in_file);
10          return(-1);
11      }        
12 --- a/src/rrd_thread_safe.c
13 +++ b/src/rrd_thread_safe.c
14 @@ -52,7 +52,7 @@
15  const char *rrd_strerror(int err) {
16      struct rrd_context *ctx = rrd_get_context();
17      if (strerror_r(err, ctx->lib_errstr, ctx->errlen)) 
18 -         return "strerror_r faild. sorry!"; 
19 +         return "strerror_r failed. Sorry!"; 
20      else 
21           return ctx->lib_errstr; 
22  }