]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Fix up compile error in boot server test
authorRay Strode <rstrode@redhat.com>
Thu, 21 Aug 2008 21:12:38 +0000 (17:12 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 27 Aug 2008 14:55:36 +0000 (10:55 -0400)
src/ply-boot-server.c

index 9d2e1937b31886b12ea4c72051e50427ad2b8be0..8d6dee0aedf7778add7045744aeee0dd2858be04 100644 (file)
@@ -525,6 +525,12 @@ on_quit (ply_event_loop_t *loop)
   ply_event_loop_exit (loop, 0);
 }
 
+static void
+on_error (ply_event_loop_t *loop)
+{
+  printf ("got error starting service\n");
+}
+
 static char *
 on_ask_for_password (ply_event_loop_t *loop)
 {
@@ -551,6 +557,7 @@ main (int    argc,
                                 (ply_boot_server_hide_splash_handler_t) on_hide_splash,
                                 (ply_boot_server_newroot_handler_t) on_newroot,
                                 (ply_boot_server_system_initialized_handler_t) on_system_initialized,
+                                (ply_boot_server_error_handler_t) on_error,
                                 (ply_boot_server_quit_handler_t) on_quit,
                                 loop);