summaryrefslogtreecommitdiffstats
path: root/init/do_mounts.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-12-17 05:29:16 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-17 08:27:14 -0500
commit7d65cf10e3d7747033b83fa18c5f3d2a498f66bc (patch)
treee10e627d7292ff6b802cb0cee6abacaedb70b103 /init/do_mounts.c
parent50062175ffc844b8ff9664024c6416a37ad63c77 (diff)
downloadop-kernel-dev-7d65cf10e3d7747033b83fa18c5f3d2a498f66bc.zip
op-kernel-dev-7d65cf10e3d7747033b83fa18c5f3d2a498f66bc.tar.gz
unfuck binfmt_misc.c (broken by commit e6084d4)
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>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud