aboutsummaryrefslogtreecommitdiff
path: root/support/support_openpty.c
diff options
context:
space:
mode:
Diffstat (limited to 'support/support_openpty.c')
-rw-r--r--support/support_openpty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/support_openpty.c b/support/support_openpty.c
index fbf9f71..f16dc04 100644
--- a/support/support_openpty.c
+++ b/support/support_openpty.c
@@ -1,5 +1,5 @@
/* Open a pseudoterminal.
- Copyright (C) 2018-2024 Free Software Foundation, Inc.
+ Copyright (C) 2018-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -57,7 +57,7 @@ support_openpty (int *a_outer, int *a_inner, char **a_name,
const struct winsize *winp)
{
int outer = -1, inner = -1;
- char *namebuf = 0;
+ char *namebuf = NULL;
outer = posix_openpt (O_RDWR | O_NOCTTY);
if (outer == -1)