Fix spelling of "omitted"; found by lintian

Message ID
State New
Headers show

Commit Message Oct. 13, 2011, 7:23 p.m.
Signed-off-by: Loïc Minier <>
 commands/mem.c     |    2 +-
 commands/saveenv.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/commands/mem.c b/commands/mem.c
index 8df5f0a..5963cfb 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -223,7 +223,7 @@  static const __maybe_unused char cmd_md_help[] =
 "Memory regions:\n"
 "Memory regions can be specified in two different forms: start+size\n"
-"or start-end, If <start> is ommitted it defaults to 0. If end is ommited it\n"
+"or start-end, If <start> is omitted it defaults to 0. If end is omitted it\n"
 "defaults to the end of the device, except for interactive commands like md\n"
 "and mw for which it defaults to 0x100.\n"
 "Sizes can be specified as decimal, or if prefixed with 0x as hexadecimal.\n"
diff --git a/commands/saveenv.c b/commands/saveenv.c
index 11a9fee..c63080b 100644
--- a/commands/saveenv.c
+++ b/commands/saveenv.c
@@ -109,7 +109,7 @@  BAREBOX_CMD_END
  * @page saveenv_command
 <p>\<envfs> is usually a block in flash but can be any other file. If
-ommitted, \<directory> defaults to /env and \<envfs> defaults to
+omitted, \<directory> defaults to /env and \<envfs> defaults to
 /dev/env0. Note that envfs can only handle files, directories are being
 skipped silently.</p>