diff --git a/gtests/net/packetdrill/sctp_chunk_to_string.c b/gtests/net/packetdrill/sctp_chunk_to_string.c index 508358493b084098f70cb8482827b17706e5f89b..3ae8e2d12684b878e0b687880d864f102643d754 100644 --- a/gtests/net/packetdrill/sctp_chunk_to_string.c +++ b/gtests/net/packetdrill/sctp_chunk_to_string.c @@ -1508,7 +1508,7 @@ static int sctp_error_chunk_to_string(FILE *s, fputc(']', s); if (*error != NULL) result = STATUS_ERR; - return STATUS_OK; + return result; } static int sctp_cookie_echo_chunk_to_string(