drbd plugin: Make the warning message more readable when /proc/drbd is missing
authorTim Laszlo <Tim.Laszlo@magnetar.com>
Tue, 12 Aug 2014 13:33:09 +0000 (08:33 -0500)
committerTim Laszlo <Tim.Laszlo@magnetar.com>
Tue, 12 Aug 2014 13:33:09 +0000 (08:33 -0500)
src/drbd.c

index af55667..cc306dc 100644 (file)
@@ -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);
        }