summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-23 17:26:56 +0000
committerbapt <bapt@FreeBSD.org>2013-12-23 17:26:56 +0000
commit470e15c3e04656f64d91e9e44a9c83bf7eb384ca (patch)
tree5d7e924ae117047702b4ef06a4699fb101f21c9a /usr.sbin/pkg
parent06960fae5f2b616a07cafda8d36e4277bf9246bd (diff)
downloadFreeBSD-src-470e15c3e04656f64d91e9e44a9c83bf7eb384ca.zip
FreeBSD-src-470e15c3e04656f64d91e9e44a9c83bf7eb384ca.tar.gz
Fix typos
Reported by: bryanv
Diffstat (limited to 'usr.sbin/pkg')
-rw-r--r--usr.sbin/pkg/pkg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c
index 021149f..9e6cee7 100644
--- a/usr.sbin/pkg/pkg.c
+++ b/usr.sbin/pkg/pkg.c
@@ -821,10 +821,10 @@ static const char confirmation_message[] =
"The package management tool is not yet installed on your system.\n"
"Do you want to fetch and install it now? [y/N]: ";
-static const char non_interractive_message[] =
+static const char non_interactive_message[] =
"The package management tool is not yet installed on your system.\n"
-"Please set ASSUME_ALWAYS_YES=yes environement variable to be able to boostrap "
-"in non-interractive (stdin not being a tty)\n";
+"Please set ASSUME_ALWAYS_YES=yes environment variable to be able to boostrap "
+"in non-interactive (stdin not being a tty)\n";
static int
pkg_query_yes_no(void)
@@ -945,7 +945,7 @@ main(int argc, char *argv[])
config_bool(ASSUME_ALWAYS_YES, &yes);
if (!yes) {
if (!isatty(fileno(stdin))) {
- fprintf(stderr, non_interractive_message);
+ fprintf(stderr, non_interactive_message);
exit(EXIT_FAILURE);
}
OpenPOWER on IntegriCloud