Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/sed typo



details:   https://anonhg.NetBSD.org/src/rev/8b6ba029f9f4
branches:  trunk
changeset: 796845:8b6ba029f9f4
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jun 21 21:05:54 2014 +0000

description:
typo

diffstat:

 usr.bin/sed/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2630de5f7857 -r 8b6ba029f9f4 usr.bin/sed/main.c
--- a/usr.bin/sed/main.c        Sat Jun 21 17:50:01 2014 +0000
+++ b/usr.bin/sed/main.c        Sat Jun 21 21:05:54 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.28 2014/06/21 17:43:04 christos Exp $       */
+/*     $NetBSD: main.c,v 1.29 2014/06/21 21:05:54 christos Exp $       */
 
 /*-
  * Copyright (c) 2013 Johann 'Myrkraverk' Oskarsson.
@@ -39,7 +39,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: main.c,v 1.28 2014/06/21 17:43:04 christos Exp $");
+__RCSID("$NetBSD: main.c,v 1.29 2014/06/21 21:05:54 christos Exp $");
 #ifdef __FBSDID
 __FBSDID("$FreeBSD: head/usr.bin/sed/main.c 252231 2013-06-26 04:14:19Z pfg $");
 #endif
@@ -428,7 +428,7 @@
                                errx(1, "%s: name too long", fname);
                        unlink(tmpfname);
                        if (outfile != NULL && outfile != stdout)
-                               flose(outfile);
+                               fclose(outfile);
                        if ((outfile = fopen(tmpfname, "w")) == NULL)
                                err(1, "%s", fname);
                        fchown(fileno(outfile), sb.st_uid, sb.st_gid);



Home | Main Index | Thread Index | Old Index