IFCONFIG(8): Fix isdigit() and isprint() usage

This commit is contained in:
Sebastian Huber
2013-10-18 16:47:43 +02:00
parent 13b50b37cc
commit 8ff186f81f
3 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ bridge_interfaces(int s, const char *prefix)
err(1, "strdup");
/* replace the prefix with whitespace */
for (p = pad; *p != '\0'; p++) {
if(isprint(*p))
if(isprint((unsigned char)*p))
*p = ' ';
}