From: deraadt Date: Sun, 5 Jan 2014 20:53:56 +0000 (+0000) Subject: missing newline on error message X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5b47becc33451f42ed48ab925d8b2257ef97f2bc;p=openbsd missing newline on error message --- 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); }