sasl_usercloak: fix typo in format string

thanks @ProgVal
This commit is contained in:
Ed Kellett 2020-01-02 16:29:23 +00:00
parent cdeca37ec3
commit b44f6669d8
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -97,7 +97,7 @@ check_new_user(void *vdata)
unsigned int hashval = fnv_hash_string(source_p->user->suser);
hashval %= 100000000; // eight digits only please.
snprintf(dst, 9, "%08ud", hashval);
snprintf(dst, 9, "%08u", hashval);
}
/* just in case */