summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-05 20:53:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-01-05 20:53:57 +0000
commit5936cb7e155a4c5adb1cb746a2ee227b40f87d73 (patch)
treef7313da57ec923a03ea660ac5b82aff78b851a07 /usr.sbin/bgpctl/parser.c
parent066d14198ba63d4ee9755c04935d18cce5c3cf6e (diff)
missing newline on error message
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c4
1 files 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 <henning@openbsd.org>
@@ -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);
}