diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-21 12:08:37 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-21 12:08:37 +0000 |
commit | 9cdd5540a39e8a23fc6a670ef05b4d03aa44ad3a (patch) | |
tree | 6523705ff2c60347574268420cb400463962f86f | |
parent | e96fde6789b2e9c080c6645c9854683424883d43 (diff) |
patches/print-error.diff: Print error numbers in FLAWLESSCALL calls
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/print-error.diff | 13 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 1b7530280..6ad6d1d59 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ rumpkernel (0~20191130-5) UNRELEASED; urgency=medium * patches/ahcisata-atapi.diff: Add ATAPI support on top of AHCI. + * patches/print-error.diff: Print error numbers in FLAWLESSCALL calls. -- Samuel Thibault <sthibault@debian.org> Sat, 21 Nov 2020 10:43:07 +0000 diff --git a/debian/patches/print-error.diff b/debian/patches/print-error.diff new file mode 100644 index 000000000..98b36da3e --- /dev/null +++ b/debian/patches/print-error.diff @@ -0,0 +1,13 @@ +Index: rumpkernel/buildrump.sh/src/sys/rump/include/rump-sys/kern.h +=================================================================== +--- rumpkernel.orig/buildrump.sh/src/sys/rump/include/rump-sys/kern.h ++++ rumpkernel/buildrump.sh/src/sys/rump/include/rump-sys/kern.h +@@ -116,7 +116,7 @@ static void rumpcompinit##type(void) + do { \ + int att_error; \ + if ((att_error = call) != 0) \ +- panic("\"%s\" failed", #call); \ ++ panic("\"%s\" failed: %d", #call, att_error); \ + } while (/*CONSTCOND*/0) + + #define RUMPMEM_UNLIMITED ((unsigned long)-1) diff --git a/debian/patches/series b/debian/patches/series index 5c00bf778..a5accbb00 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -9,3 +9,4 @@ gnumach-update rumpuser-rng-debug.diff machirqdev.diff ahcisata-atapi.diff +print-error.diff |