Description: Fix a file descriptor leak
Author: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it>
Bug: https://github.com/xinetd-org/xinetd/issues/23
Last-Update: 2016-11-03

---
--- xinetd-2.3.15.orig/xinetd/xgetloadavg.c
+++ xinetd-2.3.15/xinetd/xgetloadavg.c
@@ -34,7 +34,7 @@ double xgetloadavg(void)
 
    if( fscanf(fd, "%lf", &ret) != 1 ) {
       perror("fscanf");
-      return -1;
+      ret = -1;
    }
 
    fclose(fd);
