summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-17 10:25:22 +0000
committersabetts <sabetts>2003-05-17 10:25:22 +0000
commitd0d9444986d81d1586fc1596d61f7a17e9058c41 (patch)
treea2f362d4455afd6549778f44ab2a3f17a4a41200 /src/main.c
parent768afe0f97f0d164502202169dc1761d2b6321a2 (diff)
downloadratpoison-d0d9444986d81d1586fc1596d61f7a17e9058c41.zip
(chld_handler): Variable declaration placed in proper
location.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index df919a5..60ec000 100644
--- a/src/main.c
+++ b/src/main.c
@@ -172,9 +172,10 @@ alrm_handler (int signum)
void
chld_handler (int signum)
{
+ rp_child_info *cur;
int pid, status, serrno;
+
serrno = errno;
- rp_child_info *cur;
while (1)
{