Skip to content

Commit 152f3cd

Browse files
committed
Disk (SunOS): trims disk name
1 parent b7890e1 commit 152f3cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/detection/disk/disk_sunos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ static void detectStats(FFDisk* disk) {
100100
disk->filesUsed = (uint32_t) (disk->filesTotal - fs.f_ffree);
101101

102102
ffStrbufSetS(&disk->name, fs.f_fstr);
103+
ffStrbufTrimRightSpace(&disk->name);
103104

104105
disk->createTime = 0;
105106
}

0 commit comments

Comments
 (0)