diff options
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/clnt_perr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sunrpc/clnt_perr.c b/sunrpc/clnt_perr.c index ad96e4a0fe..4b34289a88 100644 --- a/sunrpc/clnt_perr.c +++ b/sunrpc/clnt_perr.c @@ -413,9 +413,8 @@ auth_errmsg (enum auth_stat stat) } -static void __attribute__ ((unused)) -free_mem (void) +libc_freeres_fn (free_mem) { + /* Not libc_freeres_ptr, since buf is a macro. */ free (buf); } -text_set_element (__libc_subfreeres, free_mem); |