From bc400e8b68da0cc02ce7e0262faf28e967a76151 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 1 Nov 2008 22:42:33 +0100 Subject: [PATCH] print_statistics(): Fix return value. gengeopt should protect us from ever executing this code path, but anyway. --- select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select.c b/select.c index c09574e..c360366 100644 --- a/select.c +++ b/select.c @@ -578,7 +578,7 @@ static int print_statistics(struct format_info *fi) return print_user_summary(fi); }; ERROR_LOG("bad select mode\n"); - return ERRNO_TO_ERROR(-EINVAL); + return -ERRNO_TO_ERROR(-EINVAL); } static int read_uid_file(struct uid_range *admissible_uids) -- 2.39.2