[libmultipath] fix the fix
authorChristophe Varoqui <root@xa-s05.(none)>
Thu, 5 Jan 2006 22:30:56 +0000 (23:30 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Thu, 5 Jan 2006 22:30:56 +0000 (23:30 +0100)
braino.

libmultipath/alias.c

index 703b3c3..6d103d7 100644 (file)
@@ -107,7 +107,7 @@ lock_bindings_file(int fd)
        if (err) {
                if (errno != EINTR)
                        condlog(0, "Cannot lock bindings file : %s",
-                                       strerror(err));
+                                       strerror(errno));
                else
                        condlog(0, "Bindings file is locked. Giving up.");
        }