mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-02-05 05:59:18 +00:00
swtpm: always set the logging file descriptor on libtpms
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
addf7c5e45
commit
41deaf616e
@ -145,11 +145,11 @@ int log_set_level(unsigned int level)
|
||||
}
|
||||
TPMLIB_SetDebugPrefix(prefixbuf);
|
||||
free(prefixbuf);
|
||||
|
||||
if (logfd != SUPPRESS_LOGGING)
|
||||
TPMLIB_SetDebugFD(logfd);
|
||||
}
|
||||
|
||||
if (logfd != SUPPRESS_LOGGING)
|
||||
TPMLIB_SetDebugFD(logfd);
|
||||
|
||||
err_exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user