diff options
author | bapt <bapt@FreeBSD.org> | 2015-06-07 10:57:02 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-06-07 10:57:02 +0000 |
commit | 3b86c3ab1d2b77a2e9623b90b424e554d8728c21 (patch) | |
tree | 3860d4b4236db6c52c59689e58c6eaabe15d7264 /usr.sbin/pw/pw.h | |
parent | a754787de00949b7b7da8e2df7c03b47eebcca1e (diff) | |
download | FreeBSD-src-3b86c3ab1d2b77a2e9623b90b424e554d8728c21.zip FreeBSD-src-3b86c3ab1d2b77a2e9623b90b424e554d8728c21.tar.gz |
Instead of always casting the pw_checkname input to u_char * and casting it back
to char *, change pw_checkname to directly take char * in input
Diffstat (limited to 'usr.sbin/pw/pw.h')
-rw-r--r-- | usr.sbin/pw/pw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw.h b/usr.sbin/pw/pw.h index a1ed0c4..5950681 100644 --- a/usr.sbin/pw/pw.h +++ b/usr.sbin/pw/pw.h @@ -108,7 +108,7 @@ struct carg *getarg(struct cargs * _args, int ch); int pw_user(struct userconf * cnf, int mode, struct cargs * _args); int pw_group(struct userconf * cnf, int mode, struct cargs * _args); -char *pw_checkname(u_char *name, int gecos); +char *pw_checkname(char *name, int gecos); int addnispwent(const char *path, struct passwd *pwd); int delnispwent(const char *path, const char *login); |