From: Ben Pfaff Date: Thu, 25 Aug 2011 00:01:14 +0000 (-0700) Subject: ovs.daemon: Add missing format string argument. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6b24dd7cd8c5ecf989db95fa60435c2818931d6;p=openvswitch ovs.daemon: Add missing format string argument. Found by pychecker. --- diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index d4e4bf11..ba18d860 100644 --- a/python/ovs/daemon.py +++ b/python/ovs/daemon.py @@ -421,7 +421,7 @@ def __read_pidfile(pidfile, delete_if_stale): try: os.unlink(pidfile) except IOError, e: - logging.warning("%s: failed to delete stale pidfile" + logging.warning("%s: failed to delete stale pidfile (%s)" % (pidfile, e.strerror)) return -e.errno else: