diff mbox series

documentation: fix 'install-directly' -> 'installed-directly'

Message ID 20220506064327.3482157-1-dominique.martinet@atmark-techno.com
State Accepted
Headers show
Series documentation: fix 'install-directly' -> 'installed-directly' | expand

Commit Message

Dominique Martinet May 6, 2022, 6:43 a.m. UTC
while the code variable is install_directly in images struct,
the configuration setting is installed-directly (in sw-description) and
installed_directly (in lua).

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---

Noticed that one while making reproducer just now...

 doc/source/sw-description.rst | 2 +-
 handlers/delta_handler.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/doc/source/sw-description.rst b/doc/source/sw-description.rst
index 72a5cb8e2f2f..fe4fc4720090 100644
--- a/doc/source/sw-description.rst
+++ b/doc/source/sw-description.rst
@@ -1232,7 +1232,7 @@  a "-", it is replaced with "_", because "-" cannot be used in Lua. This means, f
 ::
 
         install-if-different ==> install_if_different
-        install-directly     ==> install_directly
+        installed-directly   ==> installed_directly
 
 Attributes can be changed in the Lua script and values are taken over on return.
 The Lua function must return 2 values:
diff --git a/handlers/delta_handler.c b/handlers/delta_handler.c
index f8d330c26603..80d109d9dde2 100644
--- a/handlers/delta_handler.c
+++ b/handlers/delta_handler.c
@@ -883,7 +883,7 @@  static int install_delta(struct img_type *img,
 	 * No streaming allowed
 	 */
 	if (img->install_directly) {
-		ERROR("Do not set install-directly with delta, the header cannot be streamed");
+		ERROR("Do not set installed-directly with delta, the header cannot be streamed");
 		return -EINVAL;
 	}