]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/criu.c
c/r: use snprintf to compute device name
authorTycho Andersen <tycho.andersen@canonical.com>
Mon, 24 Oct 2016 22:55:49 +0000 (16:55 -0600)
committerTycho Andersen <tycho.andersen@canonical.com>
Mon, 24 Oct 2016 22:58:06 +0000 (16:58 -0600)
commit796a109dbe9d5d406fe724cf542b4b8b1a0d6a76
tree5b3818f4daf33a59770ee9c5551d4f0b42819940
parentf0b458e1054c632b085abfa8f59285c1ca8ba746
c/r: use snprintf to compute device name

This will never actually overflow, because %d is 32 bits and eth is 128
bytes long, but safety first :)

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
src/lxc/criu.c