Index: uspace/drv/platform/mac/mac.c
===================================================================
--- uspace/drv/platform/mac/mac.c	(revision cde999aca79219e8751af76502001a86d411d176)
+++ uspace/drv/platform/mac/mac.c	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -132,5 +132,5 @@
 	
 	ddf_fun_t *fnode = NULL;
-	int rc;
+	errno_t rc;
 	
 	/* Create new device. */
@@ -176,7 +176,7 @@
  *
  */
-static int mac_dev_add(ddf_dev_t *dev)
-{
-	int rc;
+static errno_t mac_dev_add(ddf_dev_t *dev)
+{
+	errno_t rc;
 	uintptr_t cuda_physical;
 	sysarg_t cuda_inr;
@@ -227,5 +227,5 @@
 }
 
-static int mac_enable_interrupt(ddf_fun_t *fun, int irq)
+static errno_t mac_enable_interrupt(ddf_fun_t *fun, int irq)
 {
 	/* TODO */
