Code

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 af55667ee34ace9056f4ae95eb1d1fb46c2a2511..cc306dcb2be679e7c91fde0255c3793033a1e232 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);
        }