fix dlinfo_modules return status
This commit is contained in:
		
							parent
							
								
									cb61c1eacd
								
							
						
					
					
						commit
						311714fcc3
					
				@ -968,7 +968,7 @@ int sigar_dlinfo_modules(sigar_t *sigar, sigar_proc_modules_t *procmods)
 | 
			
		||||
 | 
			
		||||
        if (status != SIGAR_OK) {
 | 
			
		||||
            /* not an error; just stop iterating */
 | 
			
		||||
            return status;
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
    } while ((map = map->l_next));
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user