diff options
author | Hank <hanketsu@egregore.fun> | 2025-04-06 12:59:39 +0200 |
---|---|---|
committer | Hank <hanketsu@egregore.fun> | 2025-04-06 12:59:39 +0200 |
commit | 4a5b41137453ecea50a063c1550fce8b69da43ba (patch) | |
tree | 5e81d97fe377d557af627d5767979c04f087308c | |
parent | 3d38cf6208c40b796ddf880eecbbf0fa35dd78a6 (diff) |
fix: modify error message
-rw-r--r-- | pm-suspend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pm-suspend.c b/pm-suspend.c index 90eb3aa..5ff5abe 100644 --- a/pm-suspend.c +++ b/pm-suspend.c @@ -5,7 +5,7 @@ int main(int argc, char **argv) { FILE *f = fopen("/sys/power/state", "w"); if(f == NULL) { - printf("%s\n", argv[1]); + printf("%s is unable to write to /sys/power/state.\nAdd the setuid bit?\n", argv[0]); exit(1); } |