Revision 5fafdf24 darwin-user/syscall.c

b/darwin-user/syscall.c
1336 1336
        if(!(sysctl = sysctl->childs))
1337 1337
            break;
1338 1338
    }
1339
    
1339
   
1340 1340
    if(ret->childs)
1341 1341
        qerror("we shouldn't have a directory element\n");
1342 1342

  
......
1375 1375
        //bswap_syctl(name, namelen, newp, newlen);
1376 1376
        tswap32s((uint32_t*)oldlenp);
1377 1377
    }
1378
        
1378
       
1379 1379
    if(name) /* Sometimes sysctl is called with no arg1, ignore */
1380 1380
        ret = get_errno(sysctl(name, namelen, oldp, oldlenp, newp, newlen));
1381 1381

  

Also available in: Unified diff