Search
lxdream.org :: lxdream/src/mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.c
changeset 691:ad3356543392
prev674:377d987db8f2
next736:a02d1475ccfd
author nkeynes
date Thu Jun 19 04:40:37 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Refactor the gd-rom list management out of the GUI (devices, recent files, etc).
Add gd-rom list to the cocoa UI.
file annotate diff log raw
1.1 --- a/src/mem.c Mon May 26 10:42:18 2008 +0000
1.2 +++ b/src/mem.c Thu Jun 19 04:40:37 2008 +0000
1.3 @@ -178,7 +178,7 @@
1.4 if( len > (length-total) )
1.5 len = (length-total);
1.6 if( fwrite( region, len, 1, f ) != 1 ) {
1.7 - ERROR( "Unexpected error: %d %d", len, errno );
1.8 + ERROR( "Unexpected error writing blocks: %d (%s)", len, strerror(errno) );
1.9 break;
1.10 }
1.11
1.12 @@ -212,7 +212,7 @@
1.13 if( len > (length-total) )
1.14 len = (length-total);
1.15 if( fread( region, len, 1, f ) != 1 ) {
1.16 - ERROR( "Unexpected error: %d %d", len, errno );
1.17 + ERROR( "Unexpected error reading: %d (%s)", len, strerror(errno) );
1.18 break;
1.19 }
1.20
.