Commit 1124ffb7 authored by Stephen Hemminger's avatar Stephen Hemminger

ipaddress: minor white space cleanup

Convert leading spaces to tabs, and put alias in one printf
parent d947b238
......@@ -469,8 +469,7 @@ int print_linkinfo(const struct sockaddr_nl *who,
print_linktype(fp, tb[IFLA_LINKINFO]);
if (do_link && tb[IFLA_IFALIAS]) {
fprintf(fp, "%s", _SL_);
fprintf(fp," alias %s",
fprintf(fp, "%s alias %s", _SL_,
rta_getattr_str(tb[IFLA_IFALIAS]));
}
......@@ -1425,4 +1424,3 @@ int do_ipaddr(int argc, char **argv)
fprintf(stderr, "Command \"%s\" is unknown, try \"ip addr help\".\n", *argv);
exit(-1);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment