Displaying 1 result from an estimated 1 matches for "5fc2019".
Did you mean:
512019
2018 Mar 30
0
[PATCH] resume: Use the kernel API from 4.17 for setting resume offset
...60ee7a4112d05eea13621790ab9d04
Signed-off-by: Mario Limonciello <mario.limonciello at dell.com>
---
usr/kinit/resume/resumelib.c | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c
index e557b05..5fc2019 100644
--- a/usr/kinit/resume/resumelib.c
+++ b/usr/kinit/resume/resumelib.c
@@ -45,7 +45,9 @@ int resume(const char *resume_file, unsigned long long resume_offset)
{
dev_t resume_device;
int powerfd = -1;
+ int offsetfd = -1;
char device_string[64];
+ char offset_string[64];
int len;...