search for: resume_arg

Displaying 1 result from an estimated 1 matches for "resume_arg".

2006 Jul 11
0
[rfc] standalone kinit/resume
...t;do_mounts.h" #include "resume.h" -#ifndef CONFIG_PM_STD_PARTITION -# define CONFIG_PM_STD_PARTITION "" -#endif +char *progname; -int do_resume(int argc, char *argv[]) +static __noreturn usage(void) { - const char *resume_file = CONFIG_PM_STD_PARTITION; - const char *resume_arg; - - resume_arg = get_arg(argc, argv, "resume="); - resume_file = resume_arg ? resume_arg : resume_file; - /* No resume device specified */ - if (!resume_file[0]) - return 0; - - /* Fix: we either should consider reverting the device back to - ordinary swap, or (better) put that code...