[PATCH] Fix BZ #217
Jakub Jelinek
jakub@redhat.com
Mon Jun 14 14:12:00 GMT 2004
Hi!
xtrace /not_found
printf: usage: printf format [arguments]
/usr/bin/xtrace: line 145: executable `/not_found' not found\n: No such file
or directory
Try `xtrace --help' for more information.
as opposed to the expected:
xtrace /not_found
executable `/not_found' not found
Try `xtrace --help' for more information.
2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
[BZ #217]
* debug/xtrace.sh: Fix typo in error diagnostics.
--- libc/debug/xtrace.sh 17 May 2004 18:37:11 -0000 1.12
+++ libc/debug/xtrace.sh 11 Jun 2004 12:19:19 -0000
@@ -143,7 +143,7 @@
program=$1
shift
if test ! -f "$program"; then
- printf >2& $"executable \`$program' not found\n"
+ printf >&2 $"executable \`$program' not found\n"
help_info
fi
if test ! -x "$program"; then
Jakub
More information about the Libc-hacker
mailing list