diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-02-11 00:10:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-02-11 00:10:57 -0800 |
| commit | 29b1ac58ff0f22bbc40fc0db88b21c152cab5b01 (patch) | |
| tree | 889cf67ece10bdb8e7e5111bc4543834014249a5 | |
| parent | 43fea1be12abf52dc12a61eef6059beed55c2df8 (diff) | |
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.
| -rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index acab23a650cc..c308fc5ddc8f 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -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 |
