add missing \n's for fprintf
This commit is contained in:
parent
087a1a699c
commit
19ab75620c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ipnat.c,v 1.13 1997/12/20 20:29:12 christos Exp $ */
|
||||
/* $NetBSD: ipnat.c,v 1.14 1997/12/21 12:53:01 darrenr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1993-1997 by Darren Reed.
|
||||
@ -143,7 +143,7 @@ char *argv[];
|
||||
|
||||
if (!(opts & OPT_NODO) && ((fd = open(IPL_NAT, O_RDWR)) == -1) &&
|
||||
((fd = open(IPL_NAT, O_RDONLY)) == -1)) {
|
||||
(void) fprintf(stderr, "%s: open: %s", IPL_NAT,
|
||||
(void) fprintf(stderr, "%s: open: %\ns", IPL_NAT,
|
||||
STRERROR(errno));
|
||||
exit(-1);
|
||||
}
|
||||
@ -771,7 +771,7 @@ int opts;
|
||||
|
||||
if (strcmp(file, "-")) {
|
||||
if (!(fp = fopen(file, "r"))) {
|
||||
(void) fprintf(stderr, "%s: open: %s", file,
|
||||
(void) fprintf(stderr, "%s: open: %s\n", file,
|
||||
STRERROR(errno));
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user