diff options
author | ru <ru@FreeBSD.org> | 2002-04-08 11:04:56 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-08 11:04:56 +0000 |
commit | 07997437f04ae67df52e5cf27edd45fc45b7b3a7 (patch) | |
tree | 43239812dcfdcb11364d9f2833b861bce4338e8b /lib/libutil/login_crypt.c | |
parent | 655eb3fb4f1633dec19cc1fae84cdbbefd47b2cf (diff) | |
download | FreeBSD-src-07997437f04ae67df52e5cf27edd45fc45b7b3a7.zip FreeBSD-src-07997437f04ae67df52e5cf27edd45fc45b7b3a7.tar.gz |
Const poisoning.
Diffstat (limited to 'lib/libutil/login_crypt.c')
-rw-r--r-- | lib/libutil/login_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutil/login_crypt.c b/lib/libutil/login_crypt.c index f3d83a8..c65fc9b 100644 --- a/lib/libutil/login_crypt.c +++ b/lib/libutil/login_crypt.c @@ -38,7 +38,7 @@ const char * login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) { const char *cipher; - cipher = login_getcapstr(lc, "passwd_format", (char *)def, NULL); + cipher = login_getcapstr(lc, "passwd_format", def, NULL); if (getenv("CRYPT_DEBUG") != NULL) fprintf(stderr, "login_setcryptfmt: " "passwd_format = %s\n", cipher); |