strace: Don't check if status values are smaller than UINT32_MAX.

The type check suffices. Fixes printing ssize_t error names.
This commit is contained in:
Augustin Cavalier
2025-03-08 14:57:18 -05:00
parent 906623697e
commit cee5e4f57e
+1 -1
View File
@@ -120,7 +120,7 @@ private:
string RenderValue(Context &context, uint64 value) const
{
string rendered = context.FormatUnsigned(value);
if (value <= UINT32_MAX && (T)value <= 0) {
if ((T)value <= 0) {
rendered += " ";
rendered += strerror(value);
}