From 6a6dd5e94882b3e31bb685841f3d14652f29a5d3 Mon Sep 17 00:00:00 2001 From: Yu Chen Date: Tue, 26 Apr 2022 17:18:41 +0800 Subject: [PATCH] fix little bug on SIGDEF --- user/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/src/lib.rs b/user/src/lib.rs index 4ba846b8..16197536 100644 --- a/user/src/lib.rs +++ b/user/src/lib.rs @@ -156,7 +156,7 @@ impl Default for SignalAction { } } -pub const SIGDEF :i32 = 1; // Default signal handling +pub const SIGDEF :i32 = 0; // Default signal handling pub const SIGHUP :i32 = 1; pub const SIGINT :i32 = 2; pub const SIGQUIT :i32 = 3;