diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.11 2001/06/16 08:58:34 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $"); | 28 | RCSID("$OpenBSD: misc.c,v 1.11 2001/06/16 08:58:34 markus Exp $"); |
29 | 29 | ||
30 | #include "misc.h" | 30 | #include "misc.h" |
31 | #include "log.h" | 31 | #include "log.h" |
@@ -131,6 +131,8 @@ pwcopy(struct passwd *pw) | |||
131 | copy->pw_gecos = xstrdup(pw->pw_gecos); | 131 | copy->pw_gecos = xstrdup(pw->pw_gecos); |
132 | copy->pw_uid = pw->pw_uid; | 132 | copy->pw_uid = pw->pw_uid; |
133 | copy->pw_gid = pw->pw_gid; | 133 | copy->pw_gid = pw->pw_gid; |
134 | copy->pw_expire = pw->pw_expire; | ||
135 | copy->pw_change = pw->pw_change; | ||
134 | #ifdef HAVE_PW_CLASS_IN_PASSWD | 136 | #ifdef HAVE_PW_CLASS_IN_PASSWD |
135 | copy->pw_class = xstrdup(pw->pw_class); | 137 | copy->pw_class = xstrdup(pw->pw_class); |
136 | #endif | 138 | #endif |