unfuck binfmt_misc.c (broken by commit e6084d4)
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Dec 2014 10:29:16 +0000 (05:29 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Dec 2014 13:27:14 +0000 (08:27 -0500)
scanarg(s, del) never returns s; the empty field results in s + 1.
Restore the correct checks, and move NUL-termination into scanarg(),
while we are at it.

Incidentally, mixing "coding style cleanups" (for small values of cleanup)
with functional changes is a Bad Idea(tm)...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/binfmt_misc.c

Simple merge