summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9718a00)
raw | patch | inline | side by side (parent: 9718a00)
author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 13 Jun 2005 04:04:27 +0000 (21:04 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Mon, 13 Jun 2005 04:04:27 +0000 (21:04 -0700) |
Missing argument for error() function. We should really use the
gcc printf format checking capabilities.
gcc printf format checking capabilities.
apply.c | patch | blob | history |
index 01bcb947ed399a943b61336f9008d38d2cf514f5..cf40e5d4b668d59a96adb1e1a14c42fa6cce6370 100644 (file)
--- a/apply.c
+++ b/apply.c
int changed;
if (lstat(old_name, &st) < 0)
- return error("%s: %s\n", strerror(errno));
+ return error("%s: %s", old_name, strerror(errno));
if (check_index) {
int pos = cache_name_pos(old_name, strlen(old_name));
if (pos < 0)