Blob Blame History Raw
From 4c088bc70c83a89b213e5d803217d4bfa92bfbf5 Mon Sep 17 00:00:00 2001
From: christos <christos>
Date: Sat, 16 Apr 2016 14:08:14 +0000
Subject: [PATCH] Fix wrong ifdef (Corinna Vinschen)

---
 sh.file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sh.file.c b/sh.file.c
index 3989d8a..a1d766d 100644
--- a/sh.file.c
+++ b/sh.file.c
@@ -564,7 +564,7 @@ again:				/* search for matches */
     }
 
     if (looking_for_lognames) {
-#ifndef HAVE_GETPWENT
+#ifdef HAVE_GETPWENT
 	(void) endpwent();
 #endif
     } else
-- 
2.5.5