Skip to content

Commit

Permalink
don't pass argv to usage, it doesn't take any params
Browse files Browse the repository at this point in the history
thanks clang!
  • Loading branch information
evgeni committed May 30, 2024
1 parent 663da3b commit f74b32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdapsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ int main (int argc, char** argv)
}

if (disklist == NULL)
usage(argv);
usage();

/* Let's see if we're on a ThinkPad or on an *Book */
if (!position_interface)
Expand Down

0 comments on commit f74b32c

Please sign in to comment.