diff options
| author | 2014-01-05 20:53:56 +0000 | |
|---|---|---|
| committer | 2014-01-05 20:53:56 +0000 | |
| commit | 5b47becc33451f42ed48ab925d8b2257ef97f2bc (patch) | |
| tree | a32b4acfc2fedf9615247119ce255331e054cf03 /usr.sbin/bgpctl/parser.c | |
| parent | Add an option -Q (quick) to mandocdb(8) (diff) | |
| download | wireguard-openbsd-5b47becc33451f42ed48ab925d8b2257ef97f2bc.tar.xz wireguard-openbsd-5b47becc33451f42ed48ab925d8b2257ef97f2bc.zip | |
missing newline on error message
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
| -rw-r--r-- | usr.sbin/bgpctl/parser.c | 4 |
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); } |
