From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 17B125A0277; Sat, 17 Aug 2024 10:43:08 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH v4 1/7] netlink: Fix typo in function comment for nl_addr_get() Date: Sat, 17 Aug 2024 10:43:02 +0200 Message-ID: <20240817084308.2734874-2-sbrivio@redhat.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240817084308.2734874-1-sbrivio@redhat.com> References: <20240817084308.2734874-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: RV4GUJ5K5UG6C3QMP3NNV7C2TJCELPPB X-Message-ID-Hash: RV4GUJ5K5UG6C3QMP3NNV7C2TJCELPPB X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson , Paul Holzinger X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Signed-off-by: Stefano Brivio Reviewed-by: David Gibson --- netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlink.c b/netlink.c index 093de26..e6a315e 100644 --- a/netlink.c +++ b/netlink.c @@ -682,7 +682,7 @@ int nl_route_dup(int s_src, unsigned int ifi_src, * @prefix_len: Mask or prefix length, to fill (for IPv4) * @addr_l: Link-scoped address to fill (for IPv6) * - * Return: 9 on success, negative error code on failure + * Return: 0 on success, negative error code on failure */ int nl_addr_get(int s, unsigned int ifi, sa_family_t af, void *addr, int *prefix_len, void *addr_l) -- 2.43.0