Skip to content

Commit fa4fdf5

Browse files
committed
broker: clean up ipaddr log message in PMI boot
Problem: when ipaddr_getprimary() fails during PMI bootstrap, the broker prints the textual error plus, unnecessarily, the errno string. This results in messages like this: flux-broker: could not find address of badiface: Success Drop the errno string suffix.
1 parent 259d90d commit fa4fdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/broker/boot_pmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static int format_bind_uri (char *buf, int bufsz, attr_t *attrs, int rank)
151151

152152
if (ipaddr_getprimary (ipaddr, sizeof (ipaddr),
153153
error, sizeof (error)) < 0) {
154-
log_err ("%s", error);
154+
log_msg ("%s", error);
155155
return -1;
156156
}
157157
if (snprintf (buf, bufsz, "tcp://%s:*", ipaddr) >= bufsz)

0 commit comments

Comments
 (0)