diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-08 11:04:56 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-08 11:04:56 +0000 |
| commit | ba9264c05d22d82c700f5cf5f3600dcfb1d159b9 (patch) | |
| tree | 04c59ef71c640fadab3969add4e45cae67a450a3 /libutil/login_crypt.c | |
| parent | 238979be1658574f6a3182d3b539edd31d81bf9f (diff) | |
| download | pw-darwin-ba9264c05d22d82c700f5cf5f3600dcfb1d159b9.tar.gz pw-darwin-ba9264c05d22d82c700f5cf5f3600dcfb1d159b9.zip | |
Const poisoning.
Diffstat (limited to 'libutil/login_crypt.c')
| -rw-r--r-- | libutil/login_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libutil/login_crypt.c b/libutil/login_crypt.c index f3d83a8..c65fc9b 100644 --- a/libutil/login_crypt.c +++ b/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); |
