Skip to content

Commit 25d84ff

Browse files
taidaiimeta-codesync[bot]
authored andcommitted
expand: correct value of SIGINT in a comment
Summary: This seems a typo: SIGINT is 2, which is 1 << 1 rather than 1 << 2. Differential Revision: D99769556 fbshipit-source-id: 93a899e32f5ca56302831bda80054abfa8adb1c8
1 parent c3f824d commit 25d84ff

File tree

1 file changed

+1
-1
lines changed
  • common/rust/shed/fbinit/fbinit_macros

1 file changed

+1
-1
lines changed

common/rust/shed/fbinit/fbinit_macros/expand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub fn expand(mode: Mode, args: Args, mut function: ItemFn) -> Result<TokenStrea
102102

103103
let perform_init = match args.disable_fatal_signals {
104104
DisableFatalSignals::Default => {
105-
// 8002 is 1 << 15 (SIGTERM) | 1 << 2 (SIGINT)
105+
// 8002 is 1 << 15 (SIGTERM) | 1 << 1 (SIGINT)
106106
quote! {
107107
fbinit::perform_init_with_disable_signals(0x8002)
108108
}

0 commit comments

Comments
 (0)