diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-30 17:28:58 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-04-30 17:28:58 +0000 |
commit | f742732991ca3c2cfb7505205c25e5effff80971 (patch) | |
tree | 123c4a353e251bcb5f794af61cca6623b4029b08 | |
parent | 56642ec16b488ab6857e590bab0f8b86265b495d (diff) |
Fix typo introduced in mkstemp addition.
-rw-r--r-- | gnu/usr.bin/groff/xditview/Dvi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/groff/xditview/Dvi.c b/gnu/usr.bin/groff/xditview/Dvi.c index 4391bc3c37f..990bcf986fc 100644 --- a/gnu/usr.bin/groff/xditview/Dvi.c +++ b/gnu/usr.bin/groff/xditview/Dvi.c @@ -397,7 +397,7 @@ static void OpenFile (dw) mktemp (tmpName); fd = open (tmpName, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); #endif /* not HAVE_MKSTEMP */ - dw->dvi.tmpFile = fdopen (tmpName, "w+"); + dw->dvi.tmpFile = fdopen (fd, "w+"); unlink (tmpName); } dw->dvi.requested_page = 1; |