summaryrefslogtreecommitdiffstats
path: root/contrib/diff
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-10-30 19:07:39 +0000
committerache <ache@FreeBSD.org>1997-10-30 19:07:39 +0000
commit9ddc05e9feb6343a22ede2827fad9c8845b0d36f (patch)
tree03b885085fdd014461d0f8732e0b439be58b7002 /contrib/diff
parentdbc432c0d0e52f23deeeeb87b034157418933c0c (diff)
downloadFreeBSD-src-9ddc05e9feb6343a22ede2827fad9c8845b0d36f.zip
FreeBSD-src-9ddc05e9feb6343a22ede2827fad9c8845b0d36f.tar.gz
-f -> -F for pr
Diffstat (limited to 'contrib/diff')
-rw-r--r--contrib/diff/util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/diff/util.c b/contrib/diff/util.c
index bbc3bff..07b24a7 100644
--- a/contrib/diff/util.c
+++ b/contrib/diff/util.c
@@ -207,8 +207,11 @@ begin_output ()
pfatal_with_name ("dup2");
close (pipes[0]);
}
-
+#ifdef __FreeBSD__
+ execl (PR_PROGRAM, PR_PROGRAM, "-F", "-h", name, 0);
+#else
execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, 0);
+#endif
pfatal_with_name (PR_PROGRAM);
}
else
OpenPOWER on IntegriCloud