diff rvinterf/etmsync/fsbasics.c @ 289:244f08f58e51

fc-fsio: error decoding implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 28 Feb 2014 23:12:52 +0000
parents 517e8a428fde
children 3dd74b16df82
line wrap: on
line diff
--- a/rvinterf/etmsync/fsbasics.c	Fri Feb 28 08:46:14 2014 +0000
+++ b/rvinterf/etmsync/fsbasics.c	Fri Feb 28 23:12:52 2014 +0000
@@ -63,7 +63,7 @@
 	if (rc)
 		return(rc);
 	if (rvi_msg[3]) {
-		printf("opendir: FFS error %d\n", rvi_msg[3]);
+		report_ffs_err("opendir", rvi_msg[3]);
 		return(ERROR_TARGET);
 	}
 	if (rvi_msg_len != 11 || rvi_msg[5] != 4) {
@@ -91,7 +91,7 @@
 	if (rc)
 		return(rc);
 	if (rvi_msg[3]) {
-		printf("readdir: FFS error %d\n", rvi_msg[3]);
+		report_ffs_err("readdir", rvi_msg[3]);
 		return(ERROR_TARGET);
 	}
 	if (rvi_msg_len < 14) {
@@ -155,7 +155,7 @@
 	if (rc)
 		return(rc);
 	if (rvi_msg[3]) {
-		printf("xlstat: FFS error %d\n", rvi_msg[3]);
+		report_ffs_err("xlstat", rvi_msg[3]);
 		return(ERROR_TARGET);
 	}
 	if (rvi_msg_len != 30 || rvi_msg[4] != 24) {