From: Andre Noll Date: Sat, 1 Nov 2008 21:42:33 +0000 (+0100) Subject: print_statistics(): Fix return value. X-Git-Tag: v0.0.4~18 X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=bc400e8b68da0cc02ce7e0262faf28e967a76151;hp=07354afaecbfaeedaa5f2b2d0b2a9fc624bf409c print_statistics(): Fix return value. gengeopt should protect us from ever executing this code path, but anyway. --- 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)