mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 09:47:38 +02:00
Merge pull request #1508 from gcmoreira/linux_kmsg_fix_1502_1496_1364
linux: kmsg plugin: Fix f'string bug introduced in #1502
This commit is contained in:
@@ -149,7 +149,7 @@ class ABCKmsg(ABC):
|
||||
# This might seem insignificant but it could cause some issues
|
||||
# when compared with userland tool results or when used in
|
||||
# timelines.
|
||||
return f"{nsec / 1000000000}.{(nsec % 1000000000) / 1000:06}"
|
||||
return f"{nsec // 1000000000}.{(nsec % 1000000000) // 1000:06}"
|
||||
|
||||
def get_timestamp_in_sec_str(self, obj) -> str:
|
||||
# obj could be log, printk_log or printk_info
|
||||
|
||||
Reference in New Issue
Block a user