selftests/bpf: fix perf_buffer on s390
[linux-2.6-microblaze.git] / fs / exec.c
index 89a500b..c71cbfe 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1663,7 +1663,7 @@ int search_binary_handler(struct linux_binprm *bprm)
                if (retval < 0 && !bprm->mm) {
                        /* we got to flush_old_exec() and failed after it */
                        read_unlock(&binfmt_lock);
-                       force_sigsegv(SIGSEGV, current);
+                       force_sigsegv(SIGSEGV);
                        return retval;
                }
                if (retval != -ENOEXEC || !bprm->file) {