From 5b47becc33451f42ed48ab925d8b2257ef97f2bc Mon Sep 17 00:00:00 2001 From: deraadt Date: Sun, 5 Jan 2014 20:53:56 +0000 Subject: [PATCH] missing newline on error message --- usr.sbin/bgpctl/parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c index 7a1d3d54361..339ec68e091 100644 --- a/usr.sbin/bgpctl/parser.c +++ b/usr.sbin/bgpctl/parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parser.c,v 1.67 2013/10/09 08:56:38 phessler Exp $ */ +/* $OpenBSD: parser.c,v 1.68 2014/01/05 20:53:56 deraadt Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -407,7 +407,7 @@ parse(int argc, char *argv[]) res.community.type = COMMUNITY_UNSET; TAILQ_INIT(&res.set); if ((res.irr_outdir = getcwd(NULL, 0)) == NULL) { - fprintf(stderr, "getcwd failed: %s", strerror(errno)); + fprintf(stderr, "getcwd failed: %s\n", strerror(errno)); return (NULL); } -- 2.20.1