diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-01 17:34:46 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-01 17:34:46 -0500 |
| commit | b893c2547d4ea73247f1ed5b1934187eb2c7d372 (patch) | |
| tree | b0f5b6d92ba1ad17c32e202c767461d52865275c /bin/zzz.c | |
| parent | d5142521687097211683e15e178d120ccf26d66b (diff) | |
| download | dotfiles-b893c2547d4ea73247f1ed5b1934187eb2c7d372.tar.gz dotfiles-b893c2547d4ea73247f1ed5b1934187eb2c7d372.tar.xz | |
Clean up the C programs a touch
Diffstat (limited to 'bin/zzz.c')
| -rw-r--r-- | bin/zzz.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ #include <stdlib.h> #include <fcntl.h> #include <string.h> +#include <sys/types.h> #define POWER_STATE_F "/sys/power/state" @@ -77,7 +78,7 @@ main(int argc, char **argv) if (ret == -1) err("setgid"); - ret = execlp(lockProg, lockProg); + execlp(lockProg, lockProg); err("execlp"); default: suspend(); |
