Index: uspace/srv/fs/udf/udf_file.c
===================================================================
--- uspace/srv/fs/udf/udf_file.c	(revision cde999aca79219e8751af76502001a86d411d176)
+++ uspace/srv/fs/udf/udf_file.c	(revision e211ea04fccf33d4cb2092f630a29e893e096a02)
@@ -57,9 +57,9 @@
  *
  */
-static int udf_read_extended_allocator(udf_node_t *node, uint16_t icb_flag,
+static errno_t udf_read_extended_allocator(udf_node_t *node, uint16_t icb_flag,
     uint32_t pos)
 {
 	block_t *block = NULL;
-	int rc = block_get(&block, node->instance->service_id, pos,
+	errno_t rc = block_get(&block, node->instance->service_id, pos,
 	    BLOCK_FLAGS_NONE);
 	if (rc != EOK)
@@ -93,5 +93,5 @@
  *
  */
-int udf_read_allocation_sequence(udf_node_t *node, uint8_t *af,
+errno_t udf_read_allocation_sequence(udf_node_t *node, uint8_t *af,
     uint16_t icb_flag, uint32_t start_alloc, uint32_t len)
 {
@@ -233,5 +233,5 @@
  * @return    EOK on success or an error code.
  */
-int udf_read_icb(udf_node_t *node)
+errno_t udf_read_icb(udf_node_t *node)
 {
 	while (true) {
@@ -239,5 +239,5 @@
 		
 		block_t *block = NULL;
-		int rc = block_get(&block, node->instance->service_id, pos,
+		errno_t rc = block_get(&block, node->instance->service_id, pos,
 		    BLOCK_FLAGS_NONE);
 		if (rc != EOK)
@@ -303,5 +303,5 @@
  *
  */
-int udf_node_get_core(udf_node_t *node)
+errno_t udf_node_get_core(udf_node_t *node)
 {
 	node->link_cnt = 1;
@@ -318,5 +318,5 @@
  *
  */
-static int udf_get_fid_in_data(udf_file_identifier_descriptor_t **fid,
+static errno_t udf_get_fid_in_data(udf_file_identifier_descriptor_t **fid,
     udf_node_t *node, aoff64_t pos)
 {
@@ -369,5 +369,5 @@
  *
  */
-int udf_get_fid(udf_file_identifier_descriptor_t **fid, block_t **block,
+errno_t udf_get_fid(udf_file_identifier_descriptor_t **fid, block_t **block,
     udf_node_t *node, aoff64_t pos)
 {
@@ -388,5 +388,5 @@
  *
  */
-int udf_get_fid_in_allocator(udf_file_identifier_descriptor_t **fid,
+errno_t udf_get_fid_in_allocator(udf_file_identifier_descriptor_t **fid,
     block_t **block, udf_node_t *node, aoff64_t pos)
 {
@@ -402,5 +402,5 @@
 		size_t i = 0;
 		while (i * node->instance->sector_size < node->allocators[j].length) {
-			int rc = block_get(block, node->instance->service_id,
+			errno_t rc = block_get(block, node->instance->service_id,
 			    node->allocators[j].position + i, BLOCK_FLAGS_NONE);
 			if (rc != EOK) {
@@ -469,5 +469,5 @@
  *
  */
-int udf_get_fid_in_sector(udf_file_identifier_descriptor_t **fid,
+errno_t udf_get_fid_in_sector(udf_file_identifier_descriptor_t **fid,
     block_t **block, udf_node_t *node, aoff64_t pos, size_t *n, void **buf,
     size_t *len)
@@ -576,5 +576,5 @@
  *
  */
-int udf_read_file(size_t *read_len, ipc_callid_t callid, udf_node_t *node,
+errno_t udf_read_file(size_t *read_len, ipc_callid_t callid, udf_node_t *node,
     aoff64_t pos, size_t len)
 {
@@ -594,5 +594,5 @@
 	
 	block_t *block = NULL;
-	int rc = block_get(&block, node->instance->service_id,
+	errno_t rc = block_get(&block, node->instance->service_id,
 	    node->allocators[i].position + (sector_num - sector_cnt),
 	    BLOCK_FLAGS_NONE);
