All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/7] keyctl: fix error path message names
@ 2018-09-27 13:14 Ben Boeckel
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Boeckel @ 2018-09-27 13:14 UTC (permalink / raw)
  To: keyrings

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
---
 keyctl.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/keyctl.c b/keyctl.c
index ab43c0a..50ece20 100644
--- a/keyctl.c
+++ b/keyctl.c
@@ -966,7 +966,7 @@ static void act_keyctl_describe(int argc, char *argv[])
 	/* get key description */
 	ret = keyctl_describe_alloc(key, &buffer);
 	if (ret < 0)
-		error("keyctl_describe");
+		error("keyctl_describe_alloc");
 
 	/* parse it */
 	uid = 0;
@@ -1727,7 +1727,7 @@ static void act_keyctl_dh_compute_kdf(int argc, char *argv[])
 	ret = keyctl_dh_compute_kdf(private, prime, base, argv[5], NULL,  0,
 				    buffer, buflen);
 	if (ret < 0)
-		error("keyctl_dh_compute_alloc");
+		error("keyctl_dh_compute_kdf");
 
 	/* hexdump the contents */
 	printf("%u bytes of data in result:\n", ret);
@@ -1791,7 +1791,7 @@ static void act_keyctl_dh_compute_kdf_oi(int argc, char *argv[])
 	ret = keyctl_dh_compute_kdf(private, prime, base, argv[5], oi,  oilen,
 				    buffer, buflen);
 	if (ret < 0)
-		error("keyctl_dh_compute_alloc");
+		error("keyctl_dh_compute_kdf");
 
 	/* hexdump the contents */
 	printf("%u bytes of data in result:\n", ret);
-- 
2.19.0.221.g150f307afc

^ permalink raw reply related	[flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/7] keyctl: fix error path message names
@ 2018-11-02 14:48 David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2018-11-02 14:48 UTC (permalink / raw)
  To: keyrings

Applied.

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

end of thread, other threads:[~2018-11-02 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-27 13:14 [PATCH v2 1/7] keyctl: fix error path message names Ben Boeckel
  -- strict thread matches above, loose matches on Subject: below --
2018-11-02 14:48 David Howells

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.