Hi All

I found a bug of 'external/ibmrsa-telnet'.

Function '_echo_debug' of class 'RSAStonithPlugin' uses 'flush' at the end
of the function to flush messages into a debug log immdiatly.

But 'flush' lacks a pair of parenthesis behind, so it doesn't work.

I made a patch for this problem.
See the attached file of this messages.

Best regard.
-- 
Takenaka Kazuhiro <[EMAIL PROTECTED]>


diff -urN org/lib/plugins/stonith/external/ibmrsa-telnet 
mod/lib/plugins/stonith/external/ibmrsa-telnet
--- org/lib/plugins/stonith/external/ibmrsa-telnet      2008-10-17 
10:11:46.000000000 +0900
+++ mod/lib/plugins/stonith/external/ibmrsa-telnet      2008-10-21 
13:37:28.000000000 +0900
@@ -177,7 +177,7 @@
         if f:
             f.write("%s: %s: %s\n" % (self._get_timestamp(), self._appl,
                     ' '.join(args)))
-            f.flush
+            f.flush()
 
     def echo(self, *args):
         what = ''.join([str(x) for x in args])
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to