Skip to content
This repository was archived by the owner on Oct 23, 2021. It is now read-only.

Commit e3e79ce

Browse files
committed
Remove "FIXME" in devs.c line 227, this is not a bug
1 parent 7766f33 commit e3e79ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/devs.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,6 @@ isLocalDev (const char * const devPath)
219219
status = 0;
220220
for (index = 0; list[index]; ++index)
221221
{
222-
/* FIXME: This is incorrect, we should use basename to match.
223-
Current we use path to match, but a same device file may
224-
have different path, for example:
225-
'/dev/sda1' and '../../sda1' { */
226222
if (strstr (list[index], pattern))
227223
{
228224
status = 1;

0 commit comments

Comments
 (0)