tags 1096801 + patch forwarded 1096801 https://github.com/linux-thinkpad/hdapsd/pull/26 thanks
On Mon, Feb 17, 2025 at 05:18:51PM +0000, Matthias Klose wrote: > hdapsd.c: In function ‘main’: > hdapsd.c:1024:17: error: too many arguments to function ‘usage’; expected 0, > have 1 > 1024 | usage(argv); > | ^~~~~ ~~~~ > hdapsd.c:397:6: note: declared here > 397 | void usage () > | ^~~~~ > hdapsd.c: In function ‘select_interface’: > hdapsd.c:675:25: warning: ignoring return value of ‘system’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 675 | system(command); > | ^~~~~~~~~~~~~~~ > hdapsd.c: In function ‘main’: > hdapsd.c:1136:17: warning: ignoring return value of ‘daemon’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1136 | daemon(0,0); > | ^~~~~~~~~~~ Thanks! I'll upload a fixed version shortly.

