+2011-04-01 Tom Tromey <tromey@redhat.com>
+
+ * utils.c (report_command_stats): Don't print `-' for negative
+ number.
+
2011-04-01 Eric Botcazou <ebotcazou@adacore.com>
* ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr)
long space_diff = space_now - start_stats->start_space;
printf_unfiltered (msg_type == 0
- ? _("Space used: %ld (%c%ld during startup)\n")
- : _("Space used: %ld (%c%ld for this command)\n"),
+ ? _("Space used: %ld (%s%ld during startup)\n")
+ : _("Space used: %ld (%s%ld for this command)\n"),
space_now,
- (space_diff >= 0 ? '+' : '-'),
+ (space_diff >= 0 ? "+" : ""),
space_diff);
#endif
}