]> git.proxmox.com Git - mirror_lxc.git/commit
Avoid hardcoded string length
authorRachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com>
Sun, 27 Jan 2019 00:07:38 +0000 (01:07 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Jan 2019 00:07:38 +0000 (01:07 +0100)
commitdb1228b35f3ea83f668b58dbec33e12623c5c4b1
tree5cdffd2bbd94ca567fca0e763fd1ddaf95c580e5
parent60014557dc6c7ebc545266c6dae4529b3749ec30
Avoid hardcoded string length

Use strlen() on "state" variable instead of harcoded
value 6.

Signed-off-by: Rachid Koucha <rachid.koucha@gmail.com>
src/lxc/freezer.c