Commit c36d785d authored by Miklos Vajna's avatar Miklos Vajna Committed by Junio C Hamano

builtin-rm: use warning() instead of fprintf(stderr, "warning: ")

Signed-off-by: default avatarMiklos Vajna <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent 2fd8c0a5
......@@ -59,8 +59,7 @@ static int check_local_mod(unsigned char *head, int index_only)
if (lstat(ce->name, &st) < 0) {
if (errno != ENOENT)
fprintf(stderr, "warning: '%s': %s",
ce->name, strerror(errno));
warning("'%s': %s", ce->name, strerror(errno));
/* It already vanished from the working tree */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment