summaryrefslogtreecommitdiff
path: root/security/nss/cmd/selfserv/selfserv.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/cmd/selfserv/selfserv.c')
-rw-r--r--security/nss/cmd/selfserv/selfserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/cmd/selfserv/selfserv.c b/security/nss/cmd/selfserv/selfserv.c
index 0967b44be..7d58d94bc 100644
--- a/security/nss/cmd/selfserv/selfserv.c
+++ b/security/nss/cmd/selfserv/selfserv.c
@@ -1380,7 +1380,7 @@ WaitForDebugger(void)
static void sigterm_handler(int signum)
{
static char err_msg[] = "selfserv: received SIGTERM\n";
- write(2, err_msg, sizeof(err_msg) - 1);
+ write(1, err_msg, sizeof(err_msg) - 1);
_exit(1);
}
#endif /* LINUX */