Skip to content

Commit e4ee4dd

Browse files
committed
Fix write length
1 parent 6547c0b commit e4ee4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ void termination_signal_handler (int signum) {
821821
rl_cleanup_after_signal ();
822822
}
823823

824-
if (write (1, "SIGNAL received\n", 18) < 0) {
824+
if (write (1, "SIGNAL received\n", 17) < 0) {
825825
// Sad thing
826826
}
827827

0 commit comments

Comments
 (0)