Skip to contentSkip to conversation

libmultipath: Fix typo in log message of execute_program()

PATCH Applied Ferenc Wágner 2 participants 2 messages Aug 26, 2014 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libmultipath: Fix typo in log message of execute_program()

---
 libmultipath/callout.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/callout.c +1 -1
index c35c7c0..4cbbd06 100644
@@ -125,7 +125,7 @@ int execute_program(char *path, char *value, int len)
 			if (status == 0)
 				retval = 0;
 			else
-				condlog(0, "%s exitted with %d", argv[0], status);
+				condlog(0, "%s exited with %d", argv[0], status);
 		}
 		else if (WIFSIGNALED(status))
 			condlog(0, "%s was terminated by signal %d", argv[0], WTERMSIG(status));
Signature · 7 lines
1.7.10.4


--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#1 lore raw

Applied.
Thanks.

Quoted 25 lines · Ferenc Wágner
---
 libmultipath/callout.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
libmultipath/callout.c +1 -1
index c35c7c0..4cbbd06 100644
@@ -125,7 +125,7 @@ int execute_program(char *path, char *value, int len)
                        if (status == 0)
                                retval = 0;
                        else
-                               condlog(0, "%s exitted with %d", argv[0],
 status);
+                               condlog(0, "%s exited with %d", argv[0],
 status);
                }

else if (WIFSIGNALED(status))
condlog(0, "%s was terminated by signal %d",
argv[0], WTERMSIG(status));
--
1.7.10.4