[multipathd] more useful error message in setup_multipath() error path
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 28 Oct 2005 08:12:58 +0000 (10:12 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 28 Oct 2005 08:12:58 +0000 (10:12 +0200)
multipathd/main.c

index bc4c1be..0319db0 100644 (file)
@@ -397,8 +397,8 @@ setup_multipath (struct vectors * vecs, struct multipath * mpp)
 
        return 0;
 out:
+       condlog(0, "%s: failed to setup multipath", mpp->alias);
        remove_map(mpp, vecs);
-       condlog(0, "failed to setup multipath");
        return 1;
 }