summaryrefslogtreecommitdiff
path: root/usr.bin/diff3
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2018-11-04 19:24:49 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2018-11-04 19:24:49 +0000
commit377421df9690cddad7f0c8cba84bd392e62a3b6c (patch)
tree8abd5aa51822658825b9055a2be48f3f3c0b7bcb /usr.bin/diff3
parenteda66948fe3eb3134f19c97689f9ca55abce8565 (diff)
downloadsrc-test2-377421df9690cddad7f0c8cba84bd392e62a3b6c.tar.gz
src-test2-377421df9690cddad7f0c8cba84bd392e62a3b6c.zip
Notes
Diffstat (limited to 'usr.bin/diff3')
-rw-r--r--usr.bin/diff3/diff3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/diff3/diff3.c b/usr.bin/diff3/diff3.c
index 4b1346f85097..4afe1767bb13 100644
--- a/usr.bin/diff3/diff3.c
+++ b/usr.bin/diff3/diff3.c
@@ -717,19 +717,19 @@ main(int argc, char **argv)
fp[0] = fopen(file1, "r");
if (fp[0] == NULL)
err(2, "Can't open %s", file1);
- if (cap_rights_limit(fileno(fp[0]), &rights_ro) < 0)
+ if (caph_rights_limit(fileno(fp[0]), &rights_ro) < 0)
err(2, "unable to limit rights on: %s", file1);
fp[1] = fopen(file2, "r");
if (fp[1] == NULL)
err(2, "Can't open %s", file2);
- if (cap_rights_limit(fileno(fp[1]), &rights_ro) < 0)
+ if (caph_rights_limit(fileno(fp[1]), &rights_ro) < 0)
err(2, "unable to limit rights on: %s", file2);
fp[2] = fopen(file3, "r");
if (fp[2] == NULL)
err(2, "Can't open %s", file3);
- if (cap_rights_limit(fileno(fp[2]), &rights_ro) < 0)
+ if (caph_rights_limit(fileno(fp[2]), &rights_ro) < 0)
err(2, "unable to limit rights on: %s", file3);
if (pipe(fd13))