Skip to content

Commit

Permalink
sysinfo: Swap arguments of g_pattern_match_simple
Browse files Browse the repository at this point in the history
  • Loading branch information
livingsilver94 authored and ximion committed Feb 14, 2024
1 parent 041191f commit 07fe3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/as-system-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ as_system_info_has_device_matching_modalias (AsSystemInfo *sysinfo, const gchar
if (g_strcmp0 (modalias, modalias_glob) == 0)
return TRUE;

if (g_pattern_match_simple (modalias, modalias_glob))
if (g_pattern_match_simple (modalias_glob, modalias))
return TRUE;
}

Expand Down

0 comments on commit 07fe3c1

Please sign in to comment.