summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-10 17:03:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-08-10 17:03:27 +0000
commitc5fc3ff2e273f81ee8d5ea972dfa753ca9c89f0b (patch)
tree0f6ef5c5f37fb535f4fc0043c53cf61fd79ea7e8 /lib/libutil
parent3cb5dec786b3dc92a23664eb2dddf96ade0fc629 (diff)
delete volatile intended to silence whiny old compilers around vfork.
This variable is only used in the parent context so there is no issue. ok kettenis
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/passwd.c b/lib/libutil/passwd.c
index 911341cd803..cd2929428ea 100644
--- a/lib/libutil/passwd.c
+++ b/lib/libutil/passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: passwd.c,v 1.54 2015/04/24 21:13:56 millert Exp $ */
+/* $OpenBSD: passwd.c,v 1.55 2018/08/10 17:03:26 deraadt Exp $ */
/*
* Copyright (c) 1987, 1993, 1994, 1995
@@ -212,7 +212,7 @@ pw_edit(int notsetuid, const char *filename)
{
int pstat;
char *p;
- char * volatile editor;
+ char *editor;
char *argp[] = {"sh", "-c", NULL, NULL};
if (!filename) {