Fixed linux api call