summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2fd8c0a)
raw | patch | inline | side by side (parent: 2fd8c0a)
author | Miklos Vajna <vmiklos@frugalware.org> | |
Tue, 24 Mar 2009 01:09:14 +0000 (02:09 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 24 Mar 2009 04:02:27 +0000 (21:02 -0700) |
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rm.c | patch | blob | history |
diff --git a/builtin-rm.c b/builtin-rm.c
index c11f45585825962e61bdee4bdd6df206f0a141c6..269d60890ac6732f05b835e88bdb60a10bb3d441 100644 (file)
--- a/builtin-rm.c
+++ b/builtin-rm.c
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;
}