mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-17 23:58:25 +00:00
detection of any error in 'probe_disk_log_file()' calling 'pr_err()' will cause 'write_to_disk()' function being called recursively infinitely, as pr_err will call write_to_disk() and trap to probe_disk_log_file() again, hence program will crash finally. This patch fix above issue by using printf instead of pr_err, as printf outputs to console directly. Tracked-On: #6518 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
||
---|---|---|
.. | ||
disk_logger.c | ||
kmsg_logger.c | ||
log.c |