All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wispr: Do not pass a negative error status to 'strerror'.
@ 2025-03-25 18:38 Grant Erickson
  2025-03-25 18:50 ` patchwork-bot+connman
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Erickson @ 2025-03-25 18:38 UTC (permalink / raw)
  To: connman

Fixes: 52546061c590 ("wispr: Refactor 'wispr_portal_web_result' to leverage 'GError'.")
---
 src/wispr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wispr.c b/src/wispr.c
index 21657f375473..a40cf353b54e 100644
--- a/src/wispr.c
+++ b/src/wispr.c
@@ -1735,7 +1735,7 @@ int __connman_wispr_cancel(struct connman_service *service,
 	cancel_connman_wispr_portal_context(wp_context);
 
 	portal_manage_failure_status(wp_context, -ECANCELED,
-		strerror(-ECANCELED));
+		strerror(ECANCELED));
 
 	wispr_portal_context_unref(wp_context);
 
-- 
2.45.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wispr: Do not pass a negative error status to 'strerror'.
  2025-03-25 18:38 [PATCH] wispr: Do not pass a negative error status to 'strerror' Grant Erickson
@ 2025-03-25 18:50 ` patchwork-bot+connman
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+connman @ 2025-03-25 18:50 UTC (permalink / raw)
  To: Grant Erickson; +Cc: connman

Hello:

This patch was applied to connman.git (master)
by Denis Kenzior <denkenz@gmail.com>:

On Tue, 25 Mar 2025 11:38:51 -0700 you wrote:
> Fixes: 52546061c590 ("wispr: Refactor 'wispr_portal_web_result' to leverage 'GError'.")
> ---
>  src/wispr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - wispr: Do not pass a negative error status to 'strerror'.
    https://git.kernel.org/pub/scm/network/connman/connman.git/?id=4e1c4469b107

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-25 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25 18:38 [PATCH] wispr: Do not pass a negative error status to 'strerror' Grant Erickson
2025-03-25 18:50 ` patchwork-bot+connman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.