]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
use new bad_format_print check
authorTobias Oetiker <tobi@oetiker.ch>
Tue, 16 Sep 2014 08:10:25 +0000 (10:10 +0200)
committerTobias Oetiker <tobi@oetiker.ch>
Tue, 16 Sep 2014 08:10:25 +0000 (10:10 +0200)
src/rrd_xport.c

index 671f4352b322e5f1bd982dbecd616414118e5aea..913ebdad9fc4f0f6f66142442b302aad9d32d76e 100644 (file)
@@ -943,7 +943,7 @@ int rrd_xport_format_addprints(int flags,stringbuffer_t *buffer,image_desc_t *im
        } else {
          strftime(dbuf,sizeof(dbuf), im->gdes[i].format, &tmvdef);
        }
-      } else if (bad_format(im->gdes[i].format)) {
+      } else if (bad_format_print(im->gdes[i].format)) {
        rrd_set_error
          ("bad format for PRINT in \"%s'", im->gdes[i].format);
        return -1;