summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Youngman <jay@gnu.org>2007-12-20 10:05:45 +0000
committerJames Youngman <jay@gnu.org>2007-12-20 10:05:45 +0000
commite154e6a2635227677e267c53e18237ddee74dfc9 (patch)
tree1076f5c98dbd46e2cf4b35882d8d1ccd1c3b7cb9
parent483bc1965558695c632834b5e5493e4bdfae3262 (diff)
downloadfindutils-e154e6a2635227677e267c53e18237ddee74dfc9.tar.gz
Installed typo fix from Clytie Siddall
-rw-r--r--ChangeLog7
-rw-r--r--find/find.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bc56865..54d79810 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-20 Clytie Siddall <clytie@riverland.net.au> (tiny change)
+
+ * find/find.c (wd_sanity_check): Corrected typo in the format
+ string for an error message, which might cause a crash in
+ "oldfind" if a directory we moved into turned out to be a symbolic
+ link that moved while we were trying to change directory.
+
2007-12-20 James Youngman <jay@gnu.org>
* configure.ac: Advance the version number, as we are moving on
diff --git a/find/find.c b/find/find.c
index 7022d050..c14d2bf4 100644
--- a/find/find.c
+++ b/find/find.c
@@ -527,7 +527,7 @@ wd_sanity_check(const char *thing_to_stat,
error ((isfatal == FATAL_IF_SANITY_CHECK_FAILS) ? 1 : 0,
0, /* no relevant errno value */
_("%1$s%2$s changed during execution of %3$s "
- "(old inode number %4$ld, new inode number %5$ld, file system type is %5$s) [ref %7$ld]"),
+ "(old inode number %4$ld, new inode number %5$ld, file system type is %6$s) [ref %7$ld]"),
safely_quote_err_filename(0, specific_what),
parent ? "/.." : "",
safely_quote_err_filename(1, progname),