mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Fix invalid format string in HASH_DEBUG code
This seems to have been broken back in be0a66666.
Reported-by: Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>
Author: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/OSCPR01MB14966E11EEFB37D7857FCEDB7F535A@OSCPR01MB14966.jpnprd01.prod.outlook.com
Backpatch-through: 14
			
			
This commit is contained in:
		| @@ -758,7 +758,7 @@ init_htab(HTAB *hashp, long nelem) | ||||
| 	hctl->nelem_alloc = choose_nelem_alloc(hctl->entrysize); | ||||
|  | ||||
| #ifdef HASH_DEBUG | ||||
| 	fprintf(stderr, "init_htab:\n%s%p\n%s%ld\n%s%ld\n%s%d\n%s%ld\n%s%u\n%s%x\n%s%x\n%s%ld\n", | ||||
| 	fprintf(stderr, "init_htab:\n%s%p\n%s%ld\n%s%ld\n%s%d\n%s%u\n%s%x\n%s%x\n%s%ld\n", | ||||
| 			"TABLE POINTER   ", hashp, | ||||
| 			"DIRECTORY SIZE  ", hctl->dsize, | ||||
| 			"SEGMENT SIZE    ", hctl->ssize, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user