summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libply/ply-event-loop.c4
-rw-r--r--src/libplybootsplash/ply-text-progress-bar.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libply/ply-event-loop.c b/src/libply/ply-event-loop.c
index 33bd52c7..7a757b08 100644
--- a/src/libply/ply-event-loop.c
+++ b/src/libply/ply-event-loop.c
@@ -1252,14 +1252,14 @@ ply_event_loop_process_pending_events (ply_event_loop_t *loop)
1252 1252
1253 if (number_of_received_events < 0) 1253 if (number_of_received_events < 0)
1254 { 1254 {
1255 if (errno != EINTR) 1255 if (errno != EINTR && errno != EAGAIN)
1256 { 1256 {
1257 ply_event_loop_exit (loop, 255); 1257 ply_event_loop_exit (loop, 255);
1258 return; 1258 return;
1259 } 1259 }
1260 } 1260 }
1261 } 1261 }
1262 while ((number_of_received_events < 0) && (errno == EINTR)); 1262 while ((number_of_received_events < 0) && ((errno == EINTR) || (errno == EAGAIN)));
1263 1263
1264 for (i = 0; i < number_of_received_events; i++) 1264 for (i = 0; i < number_of_received_events; i++)
1265 { 1265 {
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 @@
57 57
58#define NUMBER_OF_INDICATOR_COLUMNS 6 58#define NUMBER_OF_INDICATOR_COLUMNS 6
59 59
60static char *os_string; 60static char *os_string = "";
61 61
62struct _ply_text_progress_bar 62struct _ply_text_progress_bar
63{ 63{