blob: 076414c35609661542be87f9c6785a972eb91ddf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- usr/lib/tpm_stdll/tpm_specific.c.orig 2022-04-25 11:04:51 UTC
+++ usr/lib/tpm_stdll/tpm_specific.c
@@ -3251,9 +3251,9 @@ int token_specific_creatlock(void)
"Directory(%s) missing: %s\n", lockdir, strerror(errno));
goto err;
}
- grp = getgrnam("pkcs11");
+ grp = getgrnam(PKCS11GROUP);
if (grp == NULL) {
- fprintf(stderr, "getgrname(pkcs11): %s", strerror(errno));
+ fprintf(stderr, "getgrname(" PKCS11GROUP "): %s", strerror(errno));
goto err;
}
/* set ownership to euid, and pkcs11 group */
|