From 68d7aa0670e4cdfe971a47eee90894fb20ea0962 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 10 Aug 2018 17:03:26 +0000 Subject: [PATCH] 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 --- src/lib/libutil/passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/libutil/passwd.c b/src/lib/libutil/passwd.c index 911341cd..cd292942 100644 --- a/src/lib/libutil/passwd.c +++ b/src/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) {