aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-22 16:11:13 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-22 16:11:13 +0000
commit57ee890f2fcd47d6bafd57a60609dd372932f99b (patch)
tree5d2e7922eb5fed74145179e8b13729d7c8c55625 /gdb/top.c
parent44742d57fbfe7f4041e72db9527e72f63abdbc5e (diff)
downloadgdb-57ee890f2fcd47d6bafd57a60609dd372932f99b.zip
gdb-57ee890f2fcd47d6bafd57a60609dd372932f99b.tar.gz
gdb-57ee890f2fcd47d6bafd57a60609dd372932f99b.tar.bz2
* top.c (command_loop): Fix output for shrinkage.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 80476bd..beb1d96 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -545,9 +545,9 @@ command_loop (void)
long space_now = lim - lim_at_start;
long space_diff = space_now - space_at_cmd_start;
- printf_unfiltered (_("Space used: %ld (%c%ld for this command)\n"),
+ printf_unfiltered (_("Space used: %ld (%s%ld for this command)\n"),
space_now,
- (space_diff >= 0 ? '+' : '-'),
+ (space_diff >= 0 ? "+" : ""),
space_diff);
#endif
}