diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-17 10:34:13 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-03-17 10:37:20 +0000 |
commit | 6457b78169f775723ba764a7f137853f4400a79b (patch) | |
tree | b509ce29bf1ef1cb1cba088b2ce1552265ea360c /src/tools | |
parent | 81ab89d7fbfdde25e999e2a0cba505afff812462 (diff) |
idc: Fix format of exit code message.
Fix %ul -> %lu for unsigned long. Add hex output.
Change-Id: Ib109b641abe48e11c8603cfc86735279a5c3c14b
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/idc/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/idc/main.cpp b/src/tools/idc/main.cpp index 51611df..a612e80 100644 --- a/src/tools/idc/main.cpp +++ b/src/tools/idc/main.cpp @@ -140,7 +140,7 @@ static bool runWithQtInEnvironment(const QString &cmd) CloseHandle(pi.hThread); CloseHandle(pi.hProcess); if (exitCode) - fprintf(stderr, "\"%s\" returned exit code: %ul\n", qPrintable(cmd), exitCode); + fprintf(stderr, "\"%s\" returned exit code: %lu (0x%lx)\n", qPrintable(cmd), exitCode, exitCode); return exitCode == 0; } |