summaryrefslogtreecommitdiffhomepage
path: root/src/interact.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interact.c')
-rw-r--r--src/interact.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interact.c b/src/interact.c
index 4c89a60..4311596 100644
--- a/src/interact.c
+++ b/src/interact.c
@@ -116,7 +116,7 @@ static char *prompt_escapes(const char *raw) {
sb_putc(&sb, '\n');
break;
case 'S': { /* z/OS system name; elsewhere the short host name */
- const char *sys = SYS_MVS ? sys_info(SI_SYSNAME) : NULL;
+ const char *sys = SYS_MVS ? sys_info(SI_SYSNAME) : nullptr;
if (!sys) {
if (gethostname(host, sizeof host) < 0)
host[0] = '\0';