1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Kernel/FileSystem: Use a new debug flag for SysFS debug messages

This commit is contained in:
Liav A 2022-08-06 17:40:07 +03:00 committed by Brian Gianforcaro
parent a6505f6e6d
commit cf33d0b5f7
3 changed files with 6 additions and 1 deletions

View file

@ -115,7 +115,7 @@ ErrorOr<void> SysFSUSBDeviceInformation::refresh_data(OpenFileDescription& descr
ErrorOr<size_t> SysFSUSBDeviceInformation::read_bytes(off_t offset, size_t count, UserOrKernelBuffer& buffer, OpenFileDescription* description) const
{
dbgln_if(PROCFS_DEBUG, "SysFSUSBDeviceInformation @ {}: read_bytes offset: {} count: {}", name(), offset, count);
dbgln_if(SYSFS_DEBUG, "SysFSUSBDeviceInformation @ {}: read_bytes offset: {} count: {}", name(), offset, count);
VERIFY(offset >= 0);
VERIFY(buffer.user_or_kernel_ptr());