ipodpatcher: Fix build warning and 'make clean'

Change-Id: I9e546b0e4e0bcc30efccfca334281398e358ae8d
This commit is contained in:
Solomon Peachy 2026-06-17 10:05:42 -04:00
parent d737cbb931
commit db0d7649e0
3 changed files with 64 additions and 65 deletions

View file

@ -31,7 +31,7 @@ LDOPTS_OSX = -framework CoreFoundation -framework IOKit
LIBSOURCES = ipodpatcher.c fat32format.c arc4.c \
ipodio-posix.c ipodio-win32-scsi.c ipodio-win32.c \
ipodpatcher-aupd.c
ipodpatcher_aupd.c
SOURCES = main.c $(BOOTSRC)
ipodpatcher: SOURCES+= ipodio-posix.c

View file

@ -380,7 +380,7 @@ int write_partition(struct ipod_t* ipod, int infile)
if (res < 0) {
ipod_print_error(" Error writing to disk: ");
fprintf(stderr,"Bytes written: %d\n",byteswritten);
fprintf(stderr,"Bytes read/written: %d/%d\n", bytesread, byteswritten);
return -1;
}
@ -1991,4 +1991,3 @@ void ipod_get_ramsize(struct ipod_t* ipod)
ipod->ramsize = atoi(p + sizeof(needle) - 1);
}
}