]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[main] Fix config file look up properly
authorRay Strode <rstrode@redhat.com>
Wed, 24 Mar 2010 17:53:37 +0000 (13:53 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 24 Mar 2010 17:53:37 +0000 (13:53 -0400)
Before we were writing the config file splash into the
override_splash_path variable instead of the variable meant for
that config file.

src/main.c

index a55ef706b04b75ef7c7477388c8eaf76ff279c16..a9f23d8287dd6cbc7e9d4822a9cb61f21c390ac1 100644 (file)
@@ -239,7 +239,7 @@ find_system_default_splash (state_t *state)
 
   ply_trace ("System default splash is configured to be '%s'", splash_string);
 
-  asprintf (&state->override_splash_path,
+  asprintf (&state->system_default_splash_path,
             PLYMOUTH_THEME_PATH "%s/%s.plymouth",
             splash_string, splash_string);
   free (splash_string);
@@ -268,7 +268,7 @@ find_distribution_default_splash (state_t *state)
 
   ply_trace ("Distribution default splash is configured to be '%s'", splash_string);
 
-  asprintf (&state->override_splash_path,
+  asprintf (&state->distribution_default_splash_path,
             PLYMOUTH_THEME_PATH "%s/%s.plymouth",
             splash_string, splash_string);
   free (splash_string);