All: Use err(x) warn(x) instead of fprintf for formated error messages

with additional information from errno.
This commit is contained in:
Philippe Pepiot
2009-10-14 00:15:24 +02:00
parent 7917654281
commit e723c03fe3
7 changed files with 27 additions and 32 deletions

View File

@@ -200,7 +200,7 @@ getinfo(char *info)
" mwfact Show mwfact of current tag.\n"
" nmaster Show nmaster of current tag.\n");
else
fprintf(stderr, "Unknow info argument '%s'\nTry 'wmfs -g help'\n", info);
warnx("Unknow info argument '%s'\nTry 'wmfs -g help'", info);
return;
}