summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2015-11-23 12:22:10 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2015-11-23 12:22:10 +0200
commit5d59dae9daac8a5c6e3141695193deaff9d69ea1 (patch)
tree4d0c8960d67976608fb4455d7a19c6d3073c5ec3
parentd6fbf3d4fbb0495d1dae56fcfcda6ab192563561 (diff)
downloadbluez-5d59dae9daac8a5c6e3141695193deaff9d69ea1.tar.gz
tools/mgmt-tester: Simplify command result log
-rw-r--r--tools/mgmt-tester.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c
index 0b5abc07f..ea16040fa 100644
--- a/tools/mgmt-tester.c
+++ b/tools/mgmt-tester.c
@@ -5701,9 +5701,8 @@ static void command_generic_callback(uint8_t status, uint16_t length,
const void *expect_param = test->expect_param;
uint16_t expect_len = test->expect_len;
- tester_print("%s (0x%04x) finished with status \"%s\" (0x%02x)",
- mgmt_opstr(test->send_opcode), test->send_opcode,
- mgmt_errstr(status), status);
+ tester_print("%s (0x%04x): %s (0x%02x)", mgmt_opstr(test->send_opcode),
+ test->send_opcode, mgmt_errstr(status), status);
if (status != test->expect_status) {
tester_test_failed();