diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-10-26 03:21:08 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-10-26 03:21:08 +0000 |
commit | 607606f25122fb93d20025d3e25a31ba8f8f7203 (patch) | |
tree | 92e82771f6e25fc2d567ebdd3b6aa9a30913f38c /usr.sbin | |
parent | b33f6705dbd9dfbd674b483836e9132338190797 (diff) | |
download | FreeBSD-src-607606f25122fb93d20025d3e25a31ba8f8f7203.zip FreeBSD-src-607606f25122fb93d20025d3e25a31ba8f8f7203.tar.gz |
Wrap long lines
Approved by: bapt
MFC after: 2 days
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg/config.c | 12 | ||||
-rw-r--r-- | usr.sbin/pkg/pkg.c | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c index 6a6b27d..fb38e70 100644 --- a/usr.sbin/pkg/config.c +++ b/usr.sbin/pkg/config.c @@ -548,7 +548,8 @@ config_init(void) if ((fp = fopen(confpath, "r")) == NULL) { if (errno != ENOENT) - err(EXIT_FAILURE, "Unable to open configuration file %s", confpath); + err(EXIT_FAILURE, "Unable to open configuration " + "file %s", confpath); /* no configuration present */ goto finalize; } @@ -561,11 +562,13 @@ config_init(void) if (node != NULL) { if (node->type != YAML_MAPPING_NODE) - warnx("Invalid configuration format, ignoring the configuration file"); + warnx("Invalid configuration format, ignoring the " + "configuration file"); else config_parse(&doc, node); } else { - warnx("Invalid configuration format, ignoring the configuration file"); + warnx("Invalid configuration format, ignoring the " + "configuration file"); } yaml_document_delete(&doc); @@ -574,7 +577,8 @@ config_init(void) finalize: if (c[ABI].val == NULL && c[ABI].value == NULL) { if (pkg_get_myabi(abi, BUFSIZ) != 0) - errx(EXIT_FAILURE, "Failed to determine the system ABI"); + errx(EXIT_FAILURE, "Failed to determine the system " + "ABI"); c[ABI].val = abi; } diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index 812ae53..39ce207 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -267,8 +267,10 @@ bootstrap_pkg(void) fetchfail: warnx("Error fetching %s: %s", url, fetchLastErrString); - fprintf(stderr, "A pre-built version of pkg could not be found for your system.\n"); - fprintf(stderr, "Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.\n"); + fprintf(stderr, "A pre-built version of pkg could not be found for " + "your system.\n"); + fprintf(stderr, "Consider changing PACKAGESITE or installing it from " + "ports: 'ports-mgmt/pkg'.\n"); cleanup: if (remote != NULL) |