diff --git a/src/rrdtool.c b/src/rrdtool.c
index 4655b96ee77c79a74dca16f9f412bd2df55d3cd7..2b384d09d7690b113aeadd5b4fec588f72b9b4ba 100644 (file)
--- a/src/rrdtool.c
+++ b/src/rrdtool.c
if (status != 0)
{
WARNING ("rrdtool plugin: rrd_update_r failed: %s: %s",
- argv[1], rrd_get_error ());
+ filename, rrd_get_error ());
}
sfree (new_argv);