diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-09 19:36:00 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-07-09 19:36:00 +0200 |
commit | 701793d880b16e88eba3847653f3ce5914e81471 (patch) | |
tree | 877df1b0b188a2d4d2005311736fafd270c5476d /debian/patches/upstreamme0001-kern-improve-error-handling.patch | |
parent | 1e8f7af147c9a254dbf1b0053b6affac0cb6b546 (diff) |
add patch series
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..11da201 --- /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 1/5] 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 + |