[upower] fix the patch

Matthias Clasen mclasen at fedoraproject.org
Wed Aug 18 02:05:22 UTC 2010


commit e6a5592beb0a21a2ef6812771370383f4a549068
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Tue Aug 17 22:04:16 2010 -0400

    fix the patch

 upower-dbus-fixes.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/upower-dbus-fixes.patch b/upower-dbus-fixes.patch
index 2bad9b1..01759a6 100644
--- a/upower-dbus-fixes.patch
+++ b/upower-dbus-fixes.patch
@@ -31,7 +31,7 @@ index 3fb952b..4884b64 100644
  		goto out;
  
 -	if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", context))
-+	if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", NULL))
++	if (!up_polkit_check_auth (priv->polkit, subject, "org.freedesktop.upower.suspend", context))
  		goto out;
  
  	/* already requested */


More information about the scm-commits mailing list