From: Joseph C. Lehner Date: Sun, 19 Feb 2017 10:15:30 +0000 (+0100) Subject: Prettyify -L output on Windows X-Git-Tag: v0.9.11-rc1~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=545d31a54a0730f2ab340143ac09d2484fc2038f;p=oweals%2Fnmrpflash.git Prettyify -L output on Windows --- diff --git a/ethsock.c b/ethsock.c index 1cbc5da..173b43f 100644 --- a/ethsock.c +++ b/ethsock.c @@ -686,7 +686,7 @@ int ethsock_list_all(void) pretty = intf_get_pretty_name(dev->name); if (!verbosity) { - printf("%s%u", NMRPFLASH_NETALIAS_PREFIX, dev_num); + printf("%s%-2u", NMRPFLASH_NETALIAS_PREFIX, dev_num); } else { printf("%s", dev->name); }