X-Git-Url: http://git.tuebingen.mpg.de/?p=micoforia.git;a=blobdiff_plain;f=util.c;h=08f4832956d5ed1e6003d86b37494bb2a69793e7;hp=ebe5b1e3ce04b7dff9212b47fa09ac338b1fecca;hb=241eb766daa57d8ab200d20c35c2a490e0734691;hpb=e8cbe0823fdc68c668d8889d4c62d0f6bc0c29f8 diff --git a/util.c b/util.c index ebe5b1e..08f4832 100644 --- a/util.c +++ b/util.c @@ -526,7 +526,7 @@ bool attach_to_bridge(const char *iface, const char *bridge) INFO_LOG("adding interface %s to bridge %s\n", iface, bridge); if (!(idx = if_nametoindex(iface))) { - ERROR_LOG("no index for %s\n", iface); + ERROR_LOG("no index for %s: %m\n", iface); return false; } if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) {