aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--console-tools/loadacm.c8
-rw-r--r--loadacm.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c
index e5a29b6a1..5dbf03e36 100644
--- a/console-tools/loadacm.c
+++ b/console-tools/loadacm.c
@@ -149,7 +149,7 @@ static int uni_screen_map_read_ascii(FILE * fp, unicode buf[], int *is_unicode)
149 int tmp_is_unicode; /* tmp for is_unicode calculation */ 149 int tmp_is_unicode; /* tmp for is_unicode calculation */
150 int i; /* loop index - result holder */ 150 int i; /* loop index - result holder */
151 int ret_code = 0; /* return code */ 151 int ret_code = 0; /* return code */
152 sigset_t sigset, old_sigset; 152 sigset_t acmsigset, old_sigset;
153 153
154 assert(is_unicode); 154 assert(is_unicode);
155 155
@@ -163,9 +163,9 @@ static int uni_screen_map_read_ascii(FILE * fp, unicode buf[], int *is_unicode)
163 buf[i] = 0xfffd; 163 buf[i] = 0xfffd;
164 164
165 /* block SIGCHLD */ 165 /* block SIGCHLD */
166 sigemptyset(&sigset); 166 sigemptyset(&acmsigset);
167 sigaddset(&sigset, SIGCHLD); 167 sigaddset(&acmsigset, SIGCHLD);
168 sigprocmask(SIG_BLOCK, &sigset, &old_sigset); 168 sigprocmask(SIG_BLOCK, &acmsigset, &old_sigset);
169 169
170 do { 170 do {
171 if (NULL == fgets(buffer, sizeof(buffer), fp)) { 171 if (NULL == fgets(buffer, sizeof(buffer), fp)) {
diff --git a/loadacm.c b/loadacm.c
index e5a29b6a1..5dbf03e36 100644
--- a/loadacm.c
+++ b/loadacm.c
@@ -149,7 +149,7 @@ static int uni_screen_map_read_ascii(FILE * fp, unicode buf[], int *is_unicode)
149 int tmp_is_unicode; /* tmp for is_unicode calculation */ 149 int tmp_is_unicode; /* tmp for is_unicode calculation */
150 int i; /* loop index - result holder */ 150 int i; /* loop index - result holder */
151 int ret_code = 0; /* return code */ 151 int ret_code = 0; /* return code */
152 sigset_t sigset, old_sigset; 152 sigset_t acmsigset, old_sigset;
153 153
154 assert(is_unicode); 154 assert(is_unicode);
155 155
@@ -163,9 +163,9 @@ static int uni_screen_map_read_ascii(FILE * fp, unicode buf[], int *is_unicode)
163 buf[i] = 0xfffd; 163 buf[i] = 0xfffd;
164 164
165 /* block SIGCHLD */ 165 /* block SIGCHLD */
166 sigemptyset(&sigset); 166 sigemptyset(&acmsigset);
167 sigaddset(&sigset, SIGCHLD); 167 sigaddset(&acmsigset, SIGCHLD);
168 sigprocmask(SIG_BLOCK, &sigset, &old_sigset); 168 sigprocmask(SIG_BLOCK, &acmsigset, &old_sigset);
169 169
170 do { 170 do {
171 if (NULL == fgets(buffer, sizeof(buffer), fp)) { 171 if (NULL == fgets(buffer, sizeof(buffer), fp)) {