diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-11-27 16:50:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-11-27 16:50:22 +0000 |
commit | 523a66b22700e0f81caa104dd4c0696b5828493d (patch) | |
tree | 5fb301ea0569752a3db2c12ffec63b27bbccbbfa /usr.bin | |
parent | 4a4e333dad2ad4647df3e58daae5393cedea6ae5 (diff) |
use _PATH_PROTOCOLS from netdb.h instead
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/kdump/kdump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 75cc7764093..3a005e3cbc1 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kdump.c,v 1.139 2019/11/26 09:43:49 otto Exp $ */ +/* $OpenBSD: kdump.c,v 1.140 2019/11/27 16:50:21 deraadt Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -211,7 +211,7 @@ main(int argc, char *argv[]) if (strcmp(tracefile, "-") != 0) if (unveil(tracefile, "r") == -1) err(1, "unveil"); - if (unveil("/etc/protocols", "r") == -1) + if (unveil(_PATH_PROTOCOLS, "r") == -1) err(1, "unveil"); if (pledge("stdio rpath getpw", NULL) == -1) err(1, "pledge"); |