diff options
Diffstat (limited to 'SOURCE/module/misc.c')
| -rwxr-xr-x | SOURCE/module/misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/SOURCE/module/misc.c b/SOURCE/module/misc.c index 220b9de..bf5a709 100755 --- a/SOURCE/module/misc.c +++ b/SOURCE/module/misc.c @@ -89,7 +89,7 @@ int need_dump(int delay_threshold_ms, u64 *max_delay_ms, u64 base) return ret; } - +#if LINUX_VERSION_CODE < KERNEL_VERSION(5,8,0) static char *bdevt_str(dev_t devt, char *buf) { if (MAJOR(devt) <= 0xff && MINOR(devt) <= 0xff) { @@ -101,6 +101,7 @@ static char *bdevt_str(dev_t devt, char *buf) return buf; } +#endif /* * print a full list of all partitions - intended for places where the root |
