From 00bc6830e3fe3f10495917afe0835ddd19133c6a Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 16 Jul 2020 17:34:43 +0200 Subject: shadow: Implement fgetspent_r using __nss_fgetent_r Tested-by: Carlos O'Donell Reviewed-by: Carlos O'Donell --- gshadow/tst-fgetsgent_r.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gshadow') diff --git a/gshadow/tst-fgetsgent_r.c b/gshadow/tst-fgetsgent_r.c index 780409a..f81e09b 100644 --- a/gshadow/tst-fgetsgent_r.c +++ b/gshadow/tst-fgetsgent_r.c @@ -168,6 +168,7 @@ run_test (const char *path, size_t buffer_size) free (result_storage); } + xfclose (fp); return resized; } -- cgit v1.1