Error and warning messages should go to stderr, make it so.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20100115141916-tpg2rga1i4pm42kj
This commit is contained in:
@@ -90,7 +90,8 @@ again:
|
||||
goto out;
|
||||
}
|
||||
if (remove(buf) == -1) {
|
||||
printf("WARNING: couldn't remove obsolete %s: %s\n",
|
||||
fprintf(stderr,
|
||||
"WARNING: couldn't remove obsolete %s: %s\n",
|
||||
dolinks ? "link" : "file",
|
||||
prop_string_cstring_nocopy(oldstr));
|
||||
free(buf);
|
||||
|
Reference in New Issue
Block a user