X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-rm.c;h=269d60890ac6732f05b835e88bdb60a10bb3d441;hb=4481ff048df4c86021d783de6f099909495f04ff;hp=c11f45585825962e61bdee4bdd6df206f0a141c6;hpb=3e73cb2f48cc4044905455a9936692f967a0f9b3;p=git.git diff --git a/builtin-rm.c b/builtin-rm.c index c11f45585..269d60890 100644 --- a/builtin-rm.c +++ b/builtin-rm.c @@ -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 */ continue; }