]> git.ipfire.org Git - thirdparty/util-linux.git/commit
scriptreplay: fix compiler warning
authorKarel Zak <kzak@redhat.com>
Wed, 29 Jan 2025 11:38:46 +0000 (12:38 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 30 Jan 2025 08:39:53 +0000 (09:39 +0100)
commit12053b1a674384e95bc70b0ee9521851cd2b40cc
treed9ff5d6e29e515e8d20eb2ee43a5f5b63e5a63e1
parented717e5db55c78ea0b8a36e438c55af4281907c4
scriptreplay: fix compiler warning

compiler warning:
  expected 'struct timeval * restrict' but argument is of type 'const struct timeval *'

On Linux, select() modifies timeout, so the timeout cannot be 'const'.

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/scriptreplay.c