summaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-05-28 09:49:05 -0400
committerUlrich Drepper <drepper@gmail.com>2011-05-28 09:49:05 -0400
commitde81b24662a219247b71d493a807c542edf4ec9f (patch)
tree3200dd6920fdffc5da04359415fb048b12f5cd45 /malloc
parentc738465a4c13370f58b797a82cdf1c67e1121867 (diff)
Unify messages
Some shell scripts unnecessarily used different formats for some messages. Unify them to reduce the work of translators.
Diffstat (limited to 'malloc')
-rwxr-xr-xmalloc/memusage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/memusage.sh b/malloc/memusage.sh
index 757629241f..f1ccbb4d19 100755
--- a/malloc/memusage.sh
+++ b/malloc/memusage.sh
@@ -24,13 +24,13 @@ TEXTDOMAIN=libc
# Print usage message.
do_usage() {
- echo >&2 $"Try \`memusage --help' for more information."
+ printf >&2 $"Try \`%s --help' or `%s --usage' for more information.\n" memusage memusage
exit 1
}
# Message for missing argument.
do_missing_arg() {
- echo >&2 $"memusage: option \`$1' requires an argument"
+ printf >&2 $"%s: option '%s' requires an argument\n" memusage "$1"
do_usage
}