From a409565d320dae872dc652a11c1674d397c4d945 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 9 Jan 2013 13:48:40 +0200 Subject: [PATCH] Revert "make "canonicalization(...)shrank by one character" error message more usefull" - The message is not about basedir and destdir, and printing them here only makes the message even more confusing than it was, eg: canonicalization unexpectedly shrank by one character \ ('/home/pmatilai/rpmbuild/BUILD/' vs '/usr/src/debug/') - This reverts commit 1eea433d9961d74dbc797cea7f9bfceab8c16a3e (cherry picked from commit e83cc97792d66f8d31ef471455a9fa6ae136ae9a) --- tools/debugedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/debugedit.c b/tools/debugedit.c index c8fa15a..f48d6f7 100644 --- a/tools/debugedit.c +++ b/tools/debugedit.c @@ -670,7 +670,7 @@ edit_dwarf2_line (DSO *dso, uint32_t off, char *comp_dir, int phase) { if (--shrank == 0) error (EXIT_FAILURE, 0, - "canonicalization unexpectedly shrank by one character ('%s' vs '%s')", base_dir, dest_dir); + "canonicalization unexpectedly shrank by one character"); else { memset (ptr, 'X', shrank); -- 2.7.4