simplified ram function
This commit is contained in:
		
				
					committed by
					
						
						Aaron Marcher (drkhsh)
					
				
			
			
				
	
			
			
			
						parent
						
							85db24fef0
						
					
				
				
					commit
					ec35376127
				
			@@ -359,7 +359,6 @@ ram_free(const char *null)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* read the values */
 | 
			
		||||
    fscanf(fp, "MemTotal: %*d kB\n");
 | 
			
		||||
    fscanf(fp, "MemFree: %ld kB\n", &free);
 | 
			
		||||
 | 
			
		||||
    /* close meminfo file */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user