[gnome-settings-daemon] power: Fix bizarre comment
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Fix bizarre comment
- Date: Mon, 5 Mar 2012 15:27:25 +0000 (UTC)
commit 3b4586a4e3e65ad1a6990569e641e6ca109316e8
Author: Bastien Nocera <hadess hadess net>
Date: Mon Mar 5 15:26:29 2012 +0000
power: Fix bizarre comment
Doesn't seem to match the actual code.
plugins/power/gsd-backlight-helper.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/power/gsd-backlight-helper.c b/plugins/power/gsd-backlight-helper.c
index 533bec0..ed7871c 100644
--- a/plugins/power/gsd-backlight-helper.c
+++ b/plugins/power/gsd-backlight-helper.c
@@ -213,7 +213,7 @@ main (int argc, char *argv[])
goto out;
}
- /* get calling process */
+ /* check calling UID */
uid = getuid ();
euid = geteuid ();
if (uid != 0 || euid != 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]