[Pkg-shadow-commits] r2731 - upstream/trunk/libmisc
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Tue Apr 21 22:03:33 UTC 2009
Author: nekral-guest
Date: 2009-04-21 22:03:33 +0000 (Tue, 21 Apr 2009)
New Revision: 2731
Modified:
upstream/trunk/libmisc/hushed.c
Log:
Fix typo ( ) and fix a compilation warning (wrong const).
Modified: upstream/trunk/libmisc/hushed.c
===================================================================
--- upstream/trunk/libmisc/hushed.c 2009-04-21 22:02:37 UTC (rev 2730)
+++ upstream/trunk/libmisc/hushed.c 2009-04-21 22:03:33 UTC (rev 2731)
@@ -49,7 +49,7 @@
*/
bool hushed (const char *username)
{
- const struct passwd *pw;
+ struct passwd *pw;
char *hushfile;
char buf[BUFSIZ];
bool found;
@@ -65,7 +65,7 @@
return false;
}
- pw = getspnam (username);
+ pw = getpwnam (username);
if (NULL == pw) {
return false;
}
More information about the Pkg-shadow-commits
mailing list