summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-03-04 01:58:19 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1998-03-04 01:58:19 +0000
commit5f18115c17c8d9c0f3a067b5b55c3b42c1f681d7 (patch)
tree13c28a22d175db0020add405099ebe8b43dd95da /gnu
parent1350705a3413504139eb48052f97eaa9213b111c (diff)
Typos...
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/diff/sdiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/diff/sdiff.c b/gnu/usr.bin/diff/sdiff.c
index ceb383d17c2..b4f3ab77e53 100644
--- a/gnu/usr.bin/diff/sdiff.c
+++ b/gnu/usr.bin/diff/sdiff.c
@@ -946,7 +946,7 @@ edit (left, lenl, right, lenr, outfile)
case 'e':
{
FILE *tmp;
- int fd == -1;
+ int fd = -1;
tmpmade = 1;
@@ -956,7 +956,7 @@ edit (left, lenl, right, lenr, outfile)
if (fd != -1)
tmp = fdopen (fd, "w+");
else
- tmp = fopen (tmpnam, "w+");
+ tmp = fopen (tmpname, "w+");
if (cmd1 == 'l' || cmd1 == 'b')
lf_copy (left, lenl, tmp);