From: Tim Laszlo Date: Tue, 12 Aug 2014 13:33:09 +0000 (-0500) Subject: drbd plugin: Make the warning message more readable when /proc/drbd is missing X-Git-Tag: collectd-5.5.0~225^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0674cf7aa3679a5030e2cd1400ad533458d1f308;p=collectd.git drbd plugin: Make the warning message more readable when /proc/drbd is missing --- diff --git a/src/drbd.c b/src/drbd.c index af55667e..cc306dcb 100644 --- a/src/drbd.c +++ b/src/drbd.c @@ -132,7 +132,7 @@ static int drbd_read (void) fh = fopen (drbd_stats, "r"); if (fh == NULL) { - WARNING ("Unable to open%s", drbd_stats); + WARNING ("drbd plugin: Unable to open %s", drbd_stats); return (EINVAL); }