aboutsummaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorGareth McMullin2011-02-18 13:50:21 +1300
committerGareth McMullin2011-02-18 13:50:21 +1300
commit0dfdc25bb27a6cf56f13a1f9a1c1b233d6aab107 (patch)
tree93d34d117c9e179df21b39fd5a45c8b2c08034ae /src/command.c
parent660e861725828de1d6598414b22bfa8e7ee7de04 (diff)
Added git info to version output.
Fixed memory leak in SWD mode.
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 26c712e..1655cfd 100644
--- a/src/command.c
+++ b/src/command.c
@@ -87,7 +87,7 @@ int command_process(char *cmd)
void cmd_version(void)
{
- gdb_out("Black Magic Probe (Firmware 1.5, build " BUILDDATE ")\n");
+ gdb_out("Black Magic Probe (Firmware 1.5" VERSION_SUFFIX ", build " BUILDDATE ")\n");
gdb_out("Copyright (C) 2011 Black Sphere Technologies Ltd.\n");
gdb_out("License GPLv3+: GNU GPL version 3 or later "
"<http://gnu.org/licenses/gpl.html>\n\n");