aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pm-suspend.c2
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);
}