From c6dad0001d183143fe608b74b268b29723769691 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sun, 1 Nov 2015 15:08:50 -0700 Subject: [PATCH] Avoid compilation error on Solaris 10 with Stun Studio 12. Bug #727 --- plugins/sudoers/timestamp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sudoers/timestamp.c b/plugins/sudoers/timestamp.c index 77f5f236c..15ea13bcb 100644 --- a/plugins/sudoers/timestamp.c +++ b/plugins/sudoers/timestamp.c @@ -354,13 +354,13 @@ ts_fill4(struct timestamp_entry *entry, struct passwd *pw, int flags, bool tty_t static void ts_fill(struct timestamp_entry *entry, struct passwd *pw, int flags) { - return ts_fill4(entry, pw, flags, def_tty_tickets); + ts_fill4(entry, pw, flags, def_tty_tickets); } static void ts_fill_tty(struct timestamp_entry *entry, struct passwd *pw, int flags) { - return ts_fill4(entry, pw, flags, true); + ts_fill4(entry, pw, flags, true); } /* -- 2.40.0