diff options
Diffstat (limited to 'wmiistatus.c')
-rw-r--r-- | wmiistatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wmiistatus.c b/wmiistatus.c index 48c504c..95cc2ef 100644 --- a/wmiistatus.c +++ b/wmiistatus.c @@ -297,7 +297,7 @@ static char *get_wireless_info() { } else { const char *ip_address; - (void)snprintf(part, sizeof(part), "W: (%02d%%) ", quality); + (void)snprintf(part, sizeof(part), "W: (%03d%%) ", quality); ip_address = get_ip_address(wlan_interface); strcpy(part+strlen(part), ip_address); } |