diff --git a/gtests/net/packetdrill/run_system_call.c b/gtests/net/packetdrill/run_system_call.c index 9480ae51cbc4f9f4d5e0ca45002c8d12dc95eb02..f08ad1070b07b98aab7ff6e23ef99ca1ddfea662 100644 --- a/gtests/net/packetdrill/run_system_call.c +++ b/gtests/net/packetdrill/run_system_call.c @@ -672,8 +672,7 @@ static int end_syscall(struct state *state, struct syscall_spec *syscall, if (mode == CHECK_NON_NEGATIVE) { if (actual < 0) { asprintf(error, - "Expected non-negative result but got %d" - "with errno %d (%s)", + "Expected non-negative result but got %d with errno %d (%s)", actual, actual_errno, strerror(actual_errno)); return STATUS_ERR; } @@ -681,8 +680,7 @@ static int end_syscall(struct state *state, struct syscall_spec *syscall, if (actual != expected) { if (actual < 0) asprintf(error, - "Expected result %d but got %d " - "with errno %d (%s)", + "Expected result %d but got %d with errno %d (%s)", expected, actual, actual_errno, strerror(actual_errno)); @@ -695,8 +693,7 @@ static int end_syscall(struct state *state, struct syscall_spec *syscall, } else if (mode == CHECK_ALLOW_MAPPING) { if ((expected >= 0) && (actual < 0)) { asprintf(error, - "Expected non-negative result but got %d " - "with errno %d (%s)", + "Expected non-negative result but got %d with errno %d (%s)", actual, actual_errno, strerror(actual_errno)); return STATUS_ERR; } else if ((expected < 0) && (actual != expected)) {