public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] conf: In conf_runas(), on static builds, group information is also unused
@ 2022-06-16 13:10 Stefano Brivio
  0 siblings, 0 replies; only message in thread
From: Stefano Brivio @ 2022-06-16 13:10 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 397 bytes --]

Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
 conf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf.c b/conf.c
index d615cf5..3a5d650 100644
--- a/conf.c
+++ b/conf.c
@@ -868,6 +868,7 @@ static int conf_runas(const char *opt, unsigned int *uid, unsigned int *gid)
 	(void)ubuf;
 	(void)gbuf;
 	(void)pw;
+	(void)gr;
 
 	return -EINVAL;
 #else
-- 
@@ -868,6 +868,7 @@ static int conf_runas(const char *opt, unsigned int *uid, unsigned int *gid)
 	(void)ubuf;
 	(void)gbuf;
 	(void)pw;
+	(void)gr;
 
 	return -EINVAL;
 #else
-- 
2.35.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-16 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-16 13:10 [PATCH] conf: In conf_runas(), on static builds, group information is also unused Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).