From 5fc7233d2f32df8072cb3433557b69d896043bb3 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Oct 2010 09:12:07 -0400 Subject: [PATCH] sudo_preload_table is an array --- src/preload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload.c b/src/preload.c index 7566fd360..9e77f0b4a 100644 --- a/src/preload.c +++ b/src/preload.c @@ -24,7 +24,7 @@ extern struct io_plugin sudoers_io; struct sudo_preload_table { const char *name; void *address; -} sudo_preload_table = { +} sudo_preload_table[] = { { "sudoers_policy", (void *) &sudoers_policy}, { "sudoers_io", (void *) &sudoers_io}, { NULL, NULL } -- 2.40.0