|
@@ -478,7 +478,7 @@ static void prepare_hwpoison_fd(void)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (opt_unpoison && !hwpoison_forget_fd) {
|
|
if (opt_unpoison && !hwpoison_forget_fd) {
|
|
|
- sprintf(buf, "%s/renew-pfn", hwpoison_debug_fs);
|
|
|
|
|
|
|
+ sprintf(buf, "%s/unpoison-pfn", hwpoison_debug_fs);
|
|
|
hwpoison_forget_fd = checked_open(buf, O_WRONLY);
|
|
hwpoison_forget_fd = checked_open(buf, O_WRONLY);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|