X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fcommon.h;h=8c74579b525ff1c38c751a3241d6c8e99dcbc4e5;hb=520cdc8260ea033f1c9f54b87d93fcb034ae8472;hp=8429145c5134c4ce5033a360934bda9ff654c220;hpb=9b4f9b425f2efce9a6ccc25f7ae062ebc1116a7d;p=babeltrace.git diff --git a/src/common/common.h b/src/common/common.h index 8429145c..8c74579b 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -601,10 +601,8 @@ static inline const char *bt_common_func_status_string(int status) { switch (status) { - case __BT_FUNC_STATUS_OVERFLOW: + case __BT_FUNC_STATUS_OVERFLOW_ERROR: return "OVERFLOW"; - case __BT_FUNC_STATUS_INVALID_PARAMS: - return "INVALID_PARAMS"; case __BT_FUNC_STATUS_INVALID_OBJECT: return "INVALID_OBJECT"; case __BT_FUNC_STATUS_MEMORY_ERROR: