lib: rename all `*_STATUS_OVERFLOW` -> `*_STATUS_OVERFLOW_ERROR`
[babeltrace.git] / src / lib / trace-ir / clock-snapshot.c
index fef9f670873e47d8ca9510b5f690e30bef8cb3f1..899d0083dba106ff0fa6c993ed6d21b5f63dde27 100644 (file)
@@ -163,10 +163,11 @@ bt_clock_snapshot_get_ns_from_origin(
                "Clock snapshot is not set: %!+k", clock_snapshot);
 
        if (clock_snapshot->ns_from_origin_overflows) {
-               BT_LIB_LOGD("Clock snapshot, once converted to nanoseconds from origin, "
+               BT_LIB_LOGE_APPEND_CAUSE(
+                       "Clock snapshot, once converted to nanoseconds from origin, "
                        "overflows the signed 64-bit integer range: "
                        "%![cs-]+k", clock_snapshot);
-               ret = BT_FUNC_STATUS_OVERFLOW;
+               ret = BT_FUNC_STATUS_OVERFLOW_ERROR;
                goto end;
        }
 
This page took 0.026862 seconds and 4 git commands to generate.