index 147e833db09d1b5d05eeb792b1adad4d937dfc28..ed5068953605085ece14bcc2c969d4f9b5530151 100644 (file)
--- a/program/src/rrd_update.c
+++ b/program/src/rrd_update.c
/*****************************************************************************
- * RRDtool 1.2.27 Copyright by Tobi Oetiker, 1997-2008
+ * RRDtool 1.2.30 Copyright by Tobi Oetiker, 1997-2009
*****************************************************************************
* rrd_update.c RRD Update Function
*****************************************************************************
@@ -533,9 +533,9 @@ _rrd_update(const char *filename, const char *tmplt, int argc, const char **argv
if(current_time < rrd.live_head->last_up ||
(current_time == rrd.live_head->last_up &&
(long)current_time_usec <= (long)rrd.live_head->last_up_usec)) {
- rrd_set_error("illegal attempt to update using time %ld when "
+ rrd_set_error("%s: illegal attempt to update using time %ld when "
"last update time is %ld (minimum one second step)",
- current_time, rrd.live_head->last_up);
+ filename, current_time, rrd.live_head->last_up);
free(step_start);
break;
}