[PATCH 2/4] radeontool: add missing newline to error message

Jonathan Nieder jrnieder at gmail.com
Fri Dec 2 14:36:06 PST 2011


From: Tormod Volden <debian.tormod at gmail.com>

 $ >test
 $ radeontool romtables test
 $ PCI ROM signature 0x55 0xaa missing$

Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder at gmail.com>
---
 radeontool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/radeontool.c b/radeontool.c
index 97b2c406..4cfd2317 100644
--- a/radeontool.c
+++ b/radeontool.c
@@ -2879,7 +2879,7 @@ void radeon_rom_tables(const char * file)
 	close(fd);
 
 	if (bios[0] != 0x55 || bios[1] != 0xaa)
-		fatal("PCI ROM signature 0x55 0xaa missing");
+		fatal("PCI ROM signature 0x55 0xaa missing\n");
 	hdr = BIOS16(0x48);
 	printf("\nBIOS Tables:\n------------\n\n");	
 	printf("Header at %x, type: %d [%s]\n", hdr, BIOS8(hdr),
-- 
1.7.8.rc3



More information about the xorg-driver-ati mailing list