summaryrefslogtreecommitdiff
path: root/debian/patches/upstreamme0001-kern-improve-error-handling.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-10 12:28:25 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-10 12:28:25 +0200
commit025f74bd8f2a4cf4bb0f65d221823cc2c4d9d1cb (patch)
tree0c1d290219a8826ff4973bd5c4e2c8f7b62d3505 /debian/patches/upstreamme0001-kern-improve-error-handling.patch
parentdae1bfdd097a94aab30e6759d5f670c7853ad4b4 (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.patch27
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
+