OSDN Git Service

tools/mgmt-tester: Simplify command result log
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 23 Nov 2015 10:22:10 +0000 (12:22 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 23 Nov 2015 10:22:10 +0000 (12:22 +0200)
tools/mgmt-tester.c

index 0b5abc0..ea16040 100644 (file)
@@ -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();