[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permission for 'dev/pmu'



Martin-Éric Racine wrote:

> > On Mon, Jan 10, 2005 at 09:57:46AM +0100, Sjoerd Simons wrote:
> > > As said just change the current pmu patch in the package to do g_warning 
> > > instead of acme_error, which is trivial. No need to making a lot of fuss about
> > 
> > So let's do it ? Do you volunteer on writing the code ? I would rather
> > continue preparing the 2.6.10 powerpc kernel upload.
> 
> Sjoerd, since it's so trivial, could you give us an ETA on your upload?  Others
> here don't appear to know the fix as well as you and all have their hands full
> with other tasks, so your trivial fix would be highly appreciated.

Sjoerd proposed to replace acme_error by g_warning; it *is* trivial.
Patch attached.  [no, Sjoerd didn't propose a patch to use unreleased
hal 0.6 lcd brightness functions]

Feel free to forward the patch to an appropriate bug report.


Regards,

        Frederic

--- gnome-settings-multimedia-keys.c.orig	2005-01-10 12:35:36.000000000 +0100
+++ gnome-settings-multimedia-keys.c	2005-01-10 12:36:12.000000000 +0100
@@ -146,7 +146,7 @@
 	char *msg;
 
 	msg = permission_problem_string ("/dev/pmu");
-	acme_error (msg);
+	g_warning (msg);
 	g_free (msg);
 
 	return;

Reply to: