[systemd-devel] [RFC] [PATCHv3 3/3] resume-generator: add a generator for instantiating the resume unit.
Ivan Shapovalov
intelfx100 at gmail.com
Tue Aug 26 05:10:24 PDT 2014
On Monday 25 August 2014 at 19:58:52, Lennart Poettering wrote:
> On Mon, 25.08.14 02:16, Ivan Shapovalov (intelfx100 at gmail.com) wrote:
>
> > +
> > +static const char *arg_dest = "/tmp";
> > +static char *arg_resume_dev = NULL;
> > +
> > +static int parse_proc_cmdline_item(const char *key, const char *value) {
> > + if (streq(key, "resume") && value) {
> > + free(arg_resume_dev);
> > + arg_resume_dev = strdup(value);
> > + if (!arg_resume_dev)
> > + return log_oom();
> > + }
> > +
> > + return 0;
>
> There's something wrong with the indentation here...
Yeah, the closing brace is at the wrong level. Fixed for v4.
--
Ivan Shapovalov / intelfx /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140826/85f1c476/attachment.sig>
More information about the systemd-devel
mailing list