Use correct program name when complaining about not being setuid root
authorDavid Zeuthen <davidz@redhat.com>
Wed, 19 Aug 2009 17:47:01 +0000 (13:47 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 19 Aug 2009 17:47:01 +0000 (13:47 -0400)
src/polkitagent/polkitagenthelper.c

index f85b0d4..e7af888 100644 (file)
@@ -81,7 +81,7 @@ main (int argc, char *argv[])
   /* check that we are setuid root */
   if (geteuid () != 0)
     {
-      fprintf (stderr, "polkit-grant-helper-pam: needs to be setuid root\n");
+      fprintf (stderr, "polkit-agent-helper-1: needs to be setuid root\n");
       goto error;
     }