aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-01-21 22:02:53 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-01-21 22:02:53 +0000
commita1fa478b1cd8af13c849939558c57427ae0a8761 (patch)
tree8c560d4e3f836b4dd05e6bbce1c160c5f0566204 /lib/libc/gen
parent10f2d3f857710d427315c4544f20bb54d9d81eba (diff)
Notes
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/posix_spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/posix_spawn.c b/lib/libc/gen/posix_spawn.c
index fb83bbebe85cc..02b13dc190e57 100644
--- a/lib/libc/gen/posix_spawn.c
+++ b/lib/libc/gen/posix_spawn.c
@@ -201,7 +201,7 @@ struct posix_spawn_args {
char * const * argv;
char * const * envp;
int use_env_path;
- int error;
+ volatile int error;
};
#if defined(__i386__) || defined(__amd64__)