]> granicus.if.org Git - fcron/commitdiff
Further fix for Solaris 10 compilation and credentials extraction from socket
authorThibault Godouet <fcron@free.fr>
Thu, 16 Jan 2014 21:39:24 +0000 (21:39 +0000)
committerThibault Godouet <fcron@free.fr>
Thu, 16 Jan 2014 21:39:24 +0000 (21:39 +0000)
socket.c

index 8832761f0ddfd85da3094184ff82f37b5cbd3fad..5f5ace6639ec15ba5232ef87cbd4ec3917bd193d 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -237,7 +237,7 @@ auth_client_getpeer(struct fcrondyn_cl *client)
     }
     p_entry = getpwuid(uid);
     if (p_entry == NULL) {
-        error_e("Could not find password entry for uid %d", cred.uid);
+        error_e("Could not find password entry for uid %d", uid);
         return;
     }