mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-10-31 11:22:29 +00:00 
			
		
		
		
	Add EIO.
Kill errortab array; it can screw up alignment.
This commit is contained in:
		| @@ -53,8 +53,7 @@ const char * strerror ( int errno ) { | ||||
| } | ||||
|  | ||||
| /** The most common errors */ | ||||
| struct errortab common_errortab[] __errortab = { | ||||
| 	{ ENOMEM, "Out of memory" }, | ||||
| 	{ EINVAL, "Invalid argument" }, | ||||
| 	{ ENOSPC, "No space left on device" }, | ||||
| }; | ||||
| struct errortab enoem __errortab = { ENOMEM, "Out of memory" }; | ||||
| struct errortab einval __errortab = { EINVAL, "Invalid argument" }; | ||||
| struct errortab enospc __errortab = { ENOSPC, "No space left on device" }; | ||||
| struct errortab eio __errortab = { EIO, "Input/output error" }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user