summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-07 07:43:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-07 07:43:19 +0000
commita2912bf3b6db70b68ecc15b3c44d787d6ca31876 (patch)
treed838d63348333b81ff288258c51aae4d04c173b2 /gnu/usr.bin
parent4e3a942ae0d30612f7b4cc1e7ba1cb6eabcf02f1 (diff)
diff(1) invokes pr(1) with invalid option "-f";
from earle@netbsd4me.jpl.nasa.gov; netbsd pr#1896
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/diff/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/diff/util.c b/gnu/usr.bin/diff/util.c
index bbc3bff91a4..fd6cb1b5842 100644
--- a/gnu/usr.bin/diff/util.c
+++ b/gnu/usr.bin/diff/util.c
@@ -208,7 +208,7 @@ begin_output ()
close (pipes[0]);
}
- execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, 0);
+ execl (PR_PROGRAM, PR_PROGRAM, "-F", "-h", name, 0);
pfatal_with_name (PR_PROGRAM);
}
else
@@ -222,7 +222,7 @@ begin_output ()
char *command = xmalloc (4 * strlen (name) + strlen (PR_PROGRAM) + 10);
char *p;
char const *a = name;
- sprintf (command, "%s -f -h ", PR_PROGRAM);
+ sprintf (command, "%s -F -h ", PR_PROGRAM);
p = command + strlen (command);
SYSTEM_QUOTE_ARG (p, a);
*p = 0;