diff mbox series

Fix spelling errors

Message ID 20180904101846.24717-2-sbabic@denx.de
State Accepted
Headers show
Series Fix spelling errors | expand

Commit Message

Stefano Babic Sept. 4, 2018, 10:18 a.m. UTC
Detected by running lintian on the debian package.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 core/pctl.c          | 2 +-
 core/swupdate.c      | 2 +-
 corelib/downloader.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/core/pctl.c b/core/pctl.c
index 121559e..466cc37 100644
--- a/core/pctl.c
+++ b/core/pctl.c
@@ -221,7 +221,7 @@  void sigchld_handler (int __attribute__ ((__unused__)) signum)
 	for (i = 0; i < nprocs; i++) {
 		childpid = waitpid (procs[i].pid, &status, WNOHANG);
 		if (childpid < 0) {
-			perror ("waitpid, no childs");
+			perror ("waitpid, no child");
 			continue;
 		}
 		if (childpid == 0)
diff --git a/core/swupdate.c b/core/swupdate.c
index b1e115d..4a32e47 100644
--- a/core/swupdate.c
+++ b/core/swupdate.c
@@ -132,7 +132,7 @@  static void usage(char *programname)
 		"                                  to decrypt images\n"
 #endif
 		" -n, --dry-to-run               : run SWUpdate without installing the software\n"
-		" -N, --no-downgrading <version> : do not allow to install a release older as <version>\n"
+		" -N, --no-downgrading <version> : not install a release older as <version>\n"
 		" -o, --output <output file>     : saves the incoming stream\n"
 		" -v, --verbose                  : be verbose, set maximum loglevel\n"
 #ifdef CONFIG_HW_COMPATIBILITY
diff --git a/corelib/downloader.c b/corelib/downloader.c
index 7cfd630..abfc092 100644
--- a/corelib/downloader.c
+++ b/corelib/downloader.c
@@ -100,7 +100,7 @@  void download_print_help(void)
 	    "\t  -r, --retries          number of retries (resumed download) if connection\n"
 	    "\t                         is broken (0 means indefinitely retries) (default: %d)\n"
 	    "\t  -t, --timeout          timeout to check if a connection is lost (default: %d)\n"
-	    "\t  -a, --authentication   authentification information as username:password\n",
+	    "\t  -a, --authentication   authentication information as username:password\n",
 	    DL_DEFAULT_RETRIES, DL_LOWSPEED_TIME);
 }