Fix format string.
Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
		
							parent
							
								
									d4111239e6
								
							
						
					
					
						commit
						c2548d71f7
					
				|  | @ -76,7 +76,7 @@ ppcMapVidMem(int ScreenNum, unsigned long Base, unsigned long Size, int flags) | ||||||
|                 (flags & VIDMEM_READONLY) ? |                 (flags & VIDMEM_READONLY) ? | ||||||
|                 PROT_READ : (PROT_READ | PROT_WRITE), MAP_SHARED, fd, Base); |                 PROT_READ : (PROT_READ | PROT_WRITE), MAP_SHARED, fd, Base); | ||||||
|     if (base == MAP_FAILED) |     if (base == MAP_FAILED) | ||||||
|         FatalError("%s: could not mmap screen [s=%x,a=%x] (%s)", |         FatalError("%s: could not mmap screen [s=%lx,a=%lx] (%s)", | ||||||
|                    "xf86MapVidMem", Size, Base, strerror(errno)); |                    "xf86MapVidMem", Size, Base, strerror(errno)); | ||||||
| 
 | 
 | ||||||
|     return base; |     return base; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue