summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-20 20:54:59 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-11-20 20:54:59 +0100
commit7bd08cf55d83fcaa493bd1553bee11e3eb17408e (patch)
tree6beaec6142746a4cfb33f8d6ec85cd222ded7556 /libstore
parent7d740ab409689eefe9c88e7d1e7d94b8189ddf19 (diff)
Fix build
* libpager/pager-memcpy.c (pager_memcpy): Pass 1 as second parameter to sigsetjmp. * libstore/memobj.c (memobj_memcpy): Likewise.
Diffstat (limited to 'libstore')
-rw-r--r--libstore/memobj.c2
1 files changed, 1 insertions, 1 deletions
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);