diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2022-01-20 15:27:29 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2022-01-26 15:09:58 +0100 |
commit | 62f11b0b0b0e4e6aebec5857406b2d4b22406378 (patch) | |
tree | 3595227efeda81ae14a0fa1d0d48c44a9ec5faad /daemons | |
parent | cf68bf7b6c5668dcaf16310e84636a79164bd8ee (diff) | |
download | lvm2-62f11b0b0b0e4e6aebec5857406b2d4b22406378.tar.gz |
gcc: increate buffer sizes
Make all possible string buffers to fit so they are not shortened in the
middle.
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/cmirrord/cluster.c | 2 | ||||
-rw-r--r-- | daemons/cmirrord/functions.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c index 5de43c534..ef997baf4 100644 --- a/daemons/cmirrord/cluster.c +++ b/daemons/cmirrord/cluster.c @@ -108,7 +108,7 @@ static SaVersionT version = { 'B', 1, 1 }; #endif #define DEBUGGING_HISTORY 100 -#define DEBUGGING_BUFLEN 128 +#define DEBUGGING_BUFLEN 270 #define LOG_SPRINT(cc, f, arg...) do { \ cc->idx++; \ cc->idx = cc->idx % DEBUGGING_HISTORY; \ diff --git a/daemons/cmirrord/functions.c b/daemons/cmirrord/functions.c index 6c8c386a7..18251ec4d 100644 --- a/daemons/cmirrord/functions.c +++ b/daemons/cmirrord/functions.c @@ -34,7 +34,7 @@ #define LOG_OFFSET 2 #define RESYNC_HISTORY 50 -#define RESYNC_BUFLEN 128 +#define RESYNC_BUFLEN 270 //static char resync_history[RESYNC_HISTORY][128]; //static int idx = 0; #define LOG_SPRINT(_lc, f, arg...) do { \ |