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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user