diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 19:33:32 +0000 |
commit | 8bb05ac73a5b448b339ce0bc8d396c82c459b47f (patch) | |
tree | 1fdda006866bca20d41cb206767ea5241e36852f /term-utils/script-playutils.c | |
parent | Adding debian version 2.39.3-11. (diff) | |
download | util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.tar.xz util-linux-8bb05ac73a5b448b339ce0bc8d396c82c459b47f.zip |
Merging upstream version 2.40.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'term-utils/script-playutils.c')
-rw-r--r-- | term-utils/script-playutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/script-playutils.c b/term-utils/script-playutils.c index 699865b..1dec1af 100644 --- a/term-utils/script-playutils.c +++ b/term-utils/script-playutils.c @@ -165,7 +165,7 @@ static struct replay_log *replay_new_log(struct replay_setup *stp, assert(streams); assert(filename); - stp->logs = xrealloc(stp->logs, (stp->nlogs + 1) * sizeof(*log)); + stp->logs = xreallocarray(stp->logs, stp->nlogs + 1, sizeof(*log)); log = &stp->logs[stp->nlogs]; stp->nlogs++; |