summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index 2061341a..7680dbd9 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -1668,7 +1668,7 @@ pub mod alarm {
//! extern fn signal_handler(_: nix::libc::c_int) { }
//! let sa = SigAction::new(
//! SigHandler::Handler(signal_handler),
- //! SaFlags::empty(),
+ //! SaFlags::SA_RESTART,
//! SigSet::empty()
//! );
//! unsafe {