We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588c4c0 commit 0998b1eCopy full SHA for 0998b1e
1 file changed
src/detection/diskio/diskio_linux.c
@@ -23,8 +23,8 @@ static const char* parseDiskIOCounters(int dfd, const char* devName, FFlist* res
23
ffStrbufAppendC(&name, ' ');
24
}
25
26
- if (ffAppendFileBufferRelative(devfd, "model", &name))
27
- ffStrbufTrimRightSpace(&name);
+ ffAppendFileBufferRelative(devfd, "model", &name);
+ ffStrbufTrimRightSpace(&name);
28
29
if (name.length == 0)
30
ffStrbufSetS(&name, devName);
0 commit comments