chiark
/
gitweb
/
~mdw
/
dvdrip
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0e437b
)
dvd-sector-copy.c: Fix formatting for `ssize_t'.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 22:50:16 +0000
(22:50 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 18 Feb 2022 22:50:16 +0000
(22:50 +0000)
dvd-sector-copy.c
patch
|
blob
|
blame
|
history
diff --git
a/dvd-sector-copy.c
b/dvd-sector-copy.c
index 908bbbc02633959b9f82224e5aee9cb13b4ae1de..a2cf9c689ea81d5cc8cdd9a0d3efaa2533c3d7c7 100644
(file)
--- a/
dvd-sector-copy.c
+++ b/
dvd-sector-copy.c
@@
-592,7
+592,7
@@
static ssize_t recovery_read(struct recoverybuf *r,
#endif
n = recovery_read_sectors(r, pos, pp, nn);
#ifdef DEBUG
#endif
n = recovery_read_sectors(r, pos, pp, nn);
#ifdef DEBUG
- printf(" -> %
l
d\n", n);
+ printf(" -> %
z
d\n", n);
#endif
if (n != nn) {
if (n > want) n = want;
#endif
if (n != nn) {
if (n > want) n = want;
@@
-613,7
+613,7
@@
fflush(stdout);
#endif
n = recovery_read_sectors(r, pos, pp, nn);
#ifdef DEBUG
#endif
n = recovery_read_sectors(r, pos, pp, nn);
#ifdef DEBUG
- printf(" -> %
l
d\n", n);
+ printf(" -> %
z
d\n", n);
#endif
if (n > 0) {
r->end += n;
#endif
if (n > 0) {
r->end += n;
@@
-628,7
+628,7
@@
fflush(stdout);
end:
#ifdef DEBUG
end:
#ifdef DEBUG
- show_recovery_buffer_map(r, "done; return %
l
d", n);
+ show_recovery_buffer_map(r, "done; return %
z
d", n);
#endif
return (n);
}
#endif
return (n);
}
@@
-661,7
+661,7
@@
static ssize_t find_good_sector(secaddr *pos_inout, secaddr end,
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
- printf(";; [retry] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
l
d\n",
+ printf(";; [retry] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
z
d\n",
pos, pos + want, n);
#endif
if (n > 0) {
pos, pos + want, n);
#endif
if (n > 0) {
@@
-685,7
+685,7
@@
static ssize_t find_good_sector(secaddr *pos_inout, secaddr end,
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
- printf(";; [bound] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
l
d\n",
+ printf(";; [bound] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
z
d\n",
pos, pos + want, n);
#endif
if (n == want) break;
pos, pos + want, n);
#endif
if (n == want) break;
@@
-702,7
+702,7
@@
static ssize_t find_good_sector(secaddr *pos_inout, secaddr end,
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
n = recovery_read(&r, pos, want);
#ifdef DEBUG
clear_progress();
- printf(";; [limit] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
l
d\n",
+ printf(";; [limit] try reading %"PRIuSEC" .. %"PRIuSEC" -> %
z
d\n",
pos, pos + want, n);
#endif
if (n < 0) n = 0;
pos, pos + want, n);
#endif
if (n < 0) n = 0;