mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 10:21:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			230 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			230 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
--- a/file.c
 | 
						|
+++ b/file.c
 | 
						|
@@ -1900,7 +1900,7 @@
 | 
						|
 #ifdef ANDROID
 | 
						|
     return(file_table[index].fdes->_file);
 | 
						|
 #else
 | 
						|
-    return(file_table[index].fdes->_fileno);
 | 
						|
+    return(fileno(file_table[index].fdes));
 | 
						|
 #endif
 | 
						|
 #endif
 | 
						|
 #endif
 |