fix: correct output flag name in inspect_fcntl_or_open_flags
The function was incorrectly outputting 'O_SYNC' when checking for the O_NDELAY flag. This was likely a copy-paste error that could cause confusion when debugging file descriptor flags. The issue was in the inspect_fcntl_or_open_flags function where the condition checked for O_NDELAY but output the wrong flag name. Changed: - Fixed output from 'O_SYNC' to 'O_NDELAY' to match the actual flag being checked
This commit is contained in:
parent
2cb58b3a0f
commit
16ed42928d
|
|
@ -87,7 +87,7 @@ std::string inspect_fcntl_or_open_flags(size_t flags)
|
|||
ss << " O_NONBLOCK";
|
||||
}
|
||||
if ((flags & O_NDELAY) != 0) {
|
||||
ss << " O_SYNC";
|
||||
ss << " O_NDELAY";
|
||||
}
|
||||
if ((flags & O_SYNC) != 0) {
|
||||
ss << " O_SYNC";
|
||||
|
|
|
|||
Loading…
Reference in New Issue