]> xenbits.xensource.com Git - xen.git/commit
xl: rename variable pause to pause_after_migration
authorWei Liu <wei.liu2@citrix.com>
Wed, 20 Jul 2016 08:30:17 +0000 (09:30 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 20 Jul 2016 12:21:58 +0000 (13:21 +0100)
commit3e71c270522a340e91eb82e528c27da2580cce8f
tree527737e404b5938130eb762bcfdf6cb91e2f5486
parentb5b5876619bd8ec2e3b8eb4d6a11acee71592eae
xl: rename variable pause to pause_after_migration

Gcc 4.4.4 complained that the "pause" variable introduced in 22b430e0
("xl: add option to leave domain paused after migration") shadowed
pause(2) declaration in unistd.h.

Rename "pause" to "pause_after_migration" to fix this issue.

Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl_cmdimpl.c