diff options
Diffstat (limited to 'debian/patches/upstreamme0001-kern-improve-error-handling.patch')
-rw-r--r-- | debian/patches/upstreamme0001-kern-improve-error-handling.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/upstreamme0001-kern-improve-error-handling.patch b/debian/patches/upstreamme0001-kern-improve-error-handling.patch new file mode 100644 index 0000000..2f2c736 --- /dev/null +++ b/debian/patches/upstreamme0001-kern-improve-error-handling.patch @@ -0,0 +1,27 @@ +From babb522465c0a3339dfea673d2e6c85d304606f3 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Sun, 5 Jul 2015 00:14:30 +0200 +Subject: [PATCH gnumach 01/10] kern: improve error handling + +* kern/bootstrap.c (boot_script_exec_cmd): Improve error handling. +--- + kern/bootstrap.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/kern/bootstrap.c b/kern/bootstrap.c +index 4edae7b..e70e1f6 100644 +--- a/kern/bootstrap.c ++++ b/kern/bootstrap.c +@@ -725,7 +725,8 @@ boot_script_exec_cmd (void *hook, task_t task, char *path, int argc, + assert(err == 0); + thread->saved.other = &info; + thread_start (thread, user_bootstrap); +- thread_resume (thread); ++ err = thread_resume (thread); ++ assert(err == 0); + + /* We need to synchronize with the new thread and block this + main thread until it has finished referring to our local state. */ +-- +2.1.4 + |