From 9fd849e130db63ccca93d3c661751a13781bbbbf Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 1 Oct 2009 10:22:28 -0400 Subject: [PATCH] [text-progress-bar] Don't segfault if no os string Some distributions won't have a release file that we know about. In those cases, we shouldn't crash. --- src/libplybootsplash/ply-text-progress-bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libplybootsplash/ply-text-progress-bar.c b/src/libplybootsplash/ply-text-progress-bar.c index b7676c91..5e9baa29 100644 --- a/src/libplybootsplash/ply-text-progress-bar.c +++ b/src/libplybootsplash/ply-text-progress-bar.c @@ -57,7 +57,7 @@ #define NUMBER_OF_INDICATOR_COLUMNS 6 -static char *os_string; +static char *os_string = ""; struct _ply_text_progress_bar {