X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-rm.c;h=269d60890ac6732f05b835e88bdb60a10bb3d441;hb=2545c089e329d340a9bdec9f725fa737063dd7f6;hp=c11f45585825962e61bdee4bdd6df206f0a141c6;hpb=6e5d7ddc490fc7fdf46a5d0af35aa6fd64ae4a96;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; }