Commit 29b1ac58 authored by Linus Torvalds's avatar Linus Torvalds Committed by Linus Torvalds

Add macthing 'va_end()' to the 'va_start()' in daemonize().

Not that it makes any difference on x86, but there may be
architectures that actually need it.
parent 43fea1be
......@@ -308,6 +308,7 @@ void daemonize(const char *name, ...)
va_start(args, name);
vsnprintf(current->comm, sizeof(current->comm), name, args);
va_end(args);
/*
* If we were started as result of loading a module, close all of the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment