Use errorMsg rather than fprintf.
This commit is contained in:
@@ -40,7 +40,7 @@ extern int rmdir_main(int argc, char **argv)
|
||||
|
||||
while (--argc > 0) {
|
||||
if (rmdir(*(++argv)) == -1) {
|
||||
fprintf(stderr, "%s: %s\n", applet_name, strerror(errno));
|
||||
errorMsg("%s\n", strerror(errno));
|
||||
exit(FALSE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user