From 5bcb0f2ba0615897662fcd4f6227d066781c6fc2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Nov 2013 15:26:30 +0100 Subject: swap: split state machine state ACTIVATING into two We expect the event on /proc/swaps before we expect the SIGCHILD, reflect this in the state machine. --- src/shared/macro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/macro.h b/src/shared/macro.h index d64e3c3d44..6caecab295 100644 --- a/src/shared/macro.h +++ b/src/shared/macro.h @@ -277,7 +277,7 @@ do { \ * specified type as a decimal string. Adds in extra space for a * negative '-' prefix. */ #define DECIMAL_STR_MAX(type) \ - (1+(sizeof(type) <= 1 ? 3 : \ + (2+(sizeof(type) <= 1 ? 3 : \ sizeof(type) <= 2 ? 5 : \ sizeof(type) <= 4 ? 10 : \ sizeof(type) <= 8 ? 20 : sizeof(int[-2*(sizeof(type) > 8)]))) -- cgit v1.2.3-54-g00ecf