summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpager/pager-memcpy.c2
-rw-r--r--libstore/memobj.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpager/pager-memcpy.c b/libpager/pager-memcpy.c
index c7a420b2..f98b0497 100644
--- a/libpager/pager-memcpy.c
+++ b/libpager/pager-memcpy.c
@@ -207,7 +207,7 @@ pager_memcpy (struct pager *pager, memory_object_t memobj,
window = 0;
window_size = 0;
- if (sigsetjmp (buf) == 0)
+ if (sigsetjmp (buf, 1) == 0)
hurd_catch_signal (sigmask (SIGSEGV) | sigmask (SIGBUS),
window, window + window_size,
&do_copy, (sighandler_t) &fault);
diff --git a/libstore/memobj.c b/libstore/memobj.c
index 8bbc833d..0849151a 100644
--- a/libstore/memobj.c
+++ b/libstore/memobj.c
@@ -112,7 +112,7 @@ memobj_memcpy (memory_object_t memobj,
ERR would not be initialized by the copy loop in this case. */
return 0;
- if (sigsetjmp (buf) == 0)
+ if (sigsetjmp (buf, 1) == 0)
hurd_catch_signal (sigmask (SIGSEGV) | sigmask (SIGBUS),
window, window + windowsize,
&copy, (sighandler_t) &fault);