mirror of
				https://github.com/ventoy/Ventoy.git
				synced 2025-10-29 15:55:04 -04:00 
			
		
		
		
	Update error message to align with int16 range (#1513)
I think this might be a minor typo-- since the conditional checks for `priority` to be in the signed int16 range, the error message should line up with that expected range.
This commit is contained in:
		
							parent
							
								
									1371159f0b
								
							
						
					
					
						commit
						0e996e74c9
					
				| @ -297,7 +297,7 @@ int read_sort_file(char *filename, int source, char *source_path[]) | |||||||
| 		} else if((errno == ERANGE) || | 		} else if((errno == ERANGE) || | ||||||
| 				(priority < -32768 || priority > 32767)) { | 				(priority < -32768 || priority > 32767)) { | ||||||
| 			ERROR("Sort file \"%s\", entry \"%s\" has priority " | 			ERROR("Sort file \"%s\", entry \"%s\" has priority " | ||||||
| 				"outside range of -32767:32768.\n", filename, | 				"outside range of -32768:32767.\n", filename, | ||||||
| 				line_buffer); | 				line_buffer); | ||||||
| 			goto failed; | 			goto failed; | ||||||
| 		} | 		} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user