[PATCH] virnetserverclient.h: Fix typo in comment of virNetServerClientPrivPreExecRestart()

Michal Privoznik posted 1 patch 1 week, 1 day ago
src/rpc/virnetserverclient.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] virnetserverclient.h: Fix typo in comment of virNetServerClientPrivPreExecRestart()
Posted by Michal Privoznik 1 week, 1 day ago
The function the comment is referring to is
virNetServerClientPrivNew() not virNetServerClintPrivNew(). The
latter doesn't even exist.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 src/rpc/virnetserverclient.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rpc/virnetserverclient.h b/src/rpc/virnetserverclient.h
index 0d585eb2ce..2ae6c85b20 100644
--- a/src/rpc/virnetserverclient.h
+++ b/src/rpc/virnetserverclient.h
@@ -48,7 +48,7 @@ typedef int (*virNetServerClientFilterFunc)(virNetServerClient *client,
                                             void *opaque);
 
 /*
- * @data: value allocated by virNetServerClintPrivNew(PostExecRestart) callback
+ * @data: value allocated by virNetServerClientPrivNew(PostExecRestart) callback
  */
 typedef virJSONValue *(*virNetServerClientPrivPreExecRestart)(virNetServerClient *client,
                                                                 void *data);
-- 
2.45.2
Re: [PATCH] virnetserverclient.h: Fix typo in comment of virNetServerClientPrivPreExecRestart()
Posted by Ján Tomko 1 week, 1 day ago
On a Tuesday in 2024, Michal Privoznik wrote:
>The function the comment is referring to is
>virNetServerClientPrivNew() not virNetServerClintPrivNew(). The
>latter doesn't even exist.
>
>Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
>---
> src/rpc/virnetserverclient.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Trivial,
Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano