summaryrefslogtreecommitdiffstats
path: root/rbutil/ipodpatcher/ipodpatcher.c
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-08 13:38:10 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2009-11-08 13:38:10 +0000
commit3e489c14c143bb2f193e97fa66385e8a285d43ff (patch)
tree81287c64b91f3776a400241386fcad0c27718d33 /rbutil/ipodpatcher/ipodpatcher.c
parent92fb1df03aa1d7cd33bb07f7222e36e954409e52 (diff)
downloadrockbox-3e489c14c143bb2f193e97fa66385e8a285d43ff.tar.gz
rockbox-3e489c14c143bb2f193e97fa66385e8a285d43ff.tar.bz2
rockbox-3e489c14c143bb2f193e97fa66385e8a285d43ff.zip
Rename print_error() in ipodpatcher and sansapatcher.
Both patchers use the same function name with one being removed when building for rbutil. This gets in the way trying to move the patchers to libraries, and it also results a linking dependency of sansapatcher on ipodpatcher. Renaming the function makes both more self-contained and avoids potential issues if the functions happen to not do the same. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.c')
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.c b/rbutil/ipodpatcher/ipodpatcher.c
index 7116056350..dc023f0a51 100644
--- a/rbutil/ipodpatcher/ipodpatcher.c
+++ b/rbutil/ipodpatcher/ipodpatcher.c
@@ -175,7 +175,7 @@ int read_partinfo(struct ipod_t* ipod, int silent)
count = ipod_read(ipod,ipod_sectorbuf, ipod->sector_size);
if (count <= 0) {
- print_error(" Error reading from disk: ");
+ ipod_print_error(" Error reading from disk: ");
return -1;
}
@@ -225,7 +225,7 @@ int read_partinfo(struct ipod_t* ipod, int silent)
count = ipod_read(ipod, ipod_sectorbuf, ipod->sector_size);
if (count <= 0) {
- print_error(" Error reading from disk: ");
+ ipod_print_error(" Error reading from disk: ");
return -1;
}
@@ -372,7 +372,7 @@ int write_partition(struct ipod_t* ipod, int infile)
res = ipod_write(ipod, ipod_sectorbuf, n);
if (res < 0) {
- print_error(" Error writing to disk: ");
+ ipod_print_error(" Error writing to disk: ");
fprintf(stderr,"Bytes written: %d\n",byteswritten);
return -1;
}