summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2017-03-15 13:49:05 +0100
committerMatija Skala <mskala@gmx.com>2017-03-16 03:24:49 +0100
commite5276995aeb0ccbad4a86c81312fe9ce6ba13e66 (patch)
tree8a5be281c94def079ee0f29fd7881c0cb3d66b3c /src
parent284d1cd0a12cad96a5ea61d1afb0dd677dbd147e (diff)
assigning stdout and stderr is not allowed
Diffstat (limited to 'src')
-rw-r--r--src/shared/pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c
index f00ba9e1e7..c1480a718b 100644
--- a/src/shared/pager.c
+++ b/src/shared/pager.c
@@ -161,8 +161,8 @@ void pager_close(void) {
return;
/* Inform pager that we are done */
- stdout = safe_fclose(stdout);
- stderr = safe_fclose(stderr);
+ safe_fclose(stdout);
+ safe_fclose(stderr);
(void) kill(pager_pid, SIGCONT);
(void) wait_for_terminate(pager_pid, NULL);