diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-08 10:47:38 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-08 10:47:38 -0600 |
commit | c3ba036ea909732ca82821d58ea517ebc5a6da65 (patch) | |
tree | 3aa7e936f5f11a179df5ec07f1d4c6d65d407f3d /apps/system/sysinfo | |
parent | c49d35f8a42fc71f00c0e81a31383d8a9a9079ef (diff) | |
download | px4-nuttx-c3ba036ea909732ca82821d58ea517ebc5a6da65.tar.gz px4-nuttx-c3ba036ea909732ca82821d58ea517ebc5a6da65.tar.bz2 px4-nuttx-c3ba036ea909732ca82821d58ea517ebc5a6da65.zip |
apps/sysinfo: CONFIG_VERSION_BUILD is a string and needs to be printed with %s not %d
Diffstat (limited to 'apps/system/sysinfo')
-rw-r--r-- | apps/system/sysinfo/sysinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/sysinfo/sysinfo.c b/apps/system/sysinfo/sysinfo.c index 019e910db..858567586 100644 --- a/apps/system/sysinfo/sysinfo.c +++ b/apps/system/sysinfo/sysinfo.c @@ -59,7 +59,7 @@ int sysinfo_main(int argc, char *argv[]) { printf("System Information:\n"); printf("\tNuttX Version:\t" CONFIG_VERSION_STRING - " Build: %d\n", CONFIG_VERSION_BUILD); + " Build: %s\n", CONFIG_VERSION_BUILD); printf("\tSystem Time:\t%d [s] UTC " #ifdef CONFIG_RTC "Hardware RTC Support" |