libxl: copy & paste bug
Hi!
In tools/libxl/libxl_bootloader.c, at the end of the function libxl_run_bootloader() are the following lines:
if (fifo_fd > -1)
close(fifo_fd);
if (bootloader_fd > -1)
close(bootloader_fd);
if (xenconsoled_fd > -1)
close(xenconsoled_fd);
if (xenconsoled_slave > -1)
close(xenconsoled_fd);The last line is wrong. It should be:
close(xenconsoled_slave);
Christoph
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
Quoted 14 lines · Christoph Egger
Hi!
In
tools/libxl/libxl_bootloader.c, at the end of the functionlibxl_run_bootloader()are the following lines:if (
fifo_fd> -1)close(fifo_fd); if (bootloader_fd > -1) close(bootloader_fd); if (xenconsoled_fd > -1) close(xenconsoled_fd); if (xenconsoled_slave > -1) close(xenconsoled_fd);
Quoted 3 lines
The last line is wrong. It should be:
close(xenconsoled_slave);
Indeed. Please can you post a patch.
Ian.
Quoted 15 lines · On Tuesday 05 October 2010 12:08:18 Ian Campbell wrote:
Quoted 14 lines · Christoph Egger
Hi!
In
tools/libxl/libxl_bootloader.c, at the end of the functionlibxl_run_bootloader()are the following lines:if (
fifo_fd> -1)close(fifo_fd); if (bootloader_fd > -1) close(bootloader_fd); if (xenconsoled_fd > -1) close(xenconsoled_fd); if (xenconsoled_slave > -1) close(xenconsoled_fd);
Quoted 5 lines
Quoted 3 lines
The last line is wrong. It should be:
close(xenconsoled_slave);Indeed. Please can you post a patch.
Attached.
Signature · 6 lines
---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632
tools/libxl/libxl_bootloader.c +1 -1
@@ -429,7 +429,7 @@ out_close:if (xenconsoled_fd >-1 )close (xenconsoled_fd);if (xenconsoled_slave >-1 ) -close (xenconsoled_fd); +close (xenconsoled_slave);if (fifo) {unlink (fifo);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ian Campbell
Acked-byQuoted 16 lines · Christoph Egger
Quoted 15 lines · On Tuesday 05 October 2010 12:08:18 Ian Campbell wrote:
Quoted 14 lines · Christoph Egger
Hi!
In
tools/libxl/libxl_bootloader.c, at the end of the functionlibxl_run_bootloader()are the following lines:if (
fifo_fd> -1)close(fifo_fd); if (bootloader_fd > -1) close(bootloader_fd); if (xenconsoled_fd > -1) close(xenconsoled_fd); if (xenconsoled_slave > -1) close(xenconsoled_fd);
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
The last line is wrong. It should be:
close(xenconsoled_slave);Indeed. Please can you post a patch.
Attached.
Thanks.
Quoted 1 line
Signed-off-by Christoph Egger <[email protected]>
Ian.
Stefano Stabellini
AppliedQuoted 16 lines · Christoph Egger
Quoted 15 lines · On Tuesday 05 October 2010 12:08:18 Ian Campbell wrote:
Quoted 14 lines · Christoph Egger
Hi!
In
tools/libxl/libxl_bootloader.c, at the end of the functionlibxl_run_bootloader()are the following lines:if (
fifo_fd> -1)close(fifo_fd); if (bootloader_fd > -1) close(bootloader_fd); if (xenconsoled_fd > -1) close(xenconsoled_fd); if (xenconsoled_slave > -1) close(xenconsoled_fd);
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
The last line is wrong. It should be:
close(xenconsoled_slave);Indeed. Please can you post a patch.
Attached.
applied, thanks