]> git.pld-linux.org Git - packages/dvd+rw-tools.git/blob - dvd+rw-tools-printf.patch
- progress patch
[packages/dvd+rw-tools.git] / dvd+rw-tools-printf.patch
1 --- dvd+rw-tools-6.1/growisofs.c.orig   2006-04-07 09:42:51.000000000 +0200
2 +++ dvd+rw-tools-6.1/growisofs.c        2006-04-07 09:50:33.000000000 +0200
3 @@ -456,8 +456,12 @@
4  #endif
5  
6  #ifndef LLD
7 +#if defined(_LP64) || defined(__LP64__)
8 +#define LLD            "ld"
9 +#else
10  #define LLD            "lld"
11  #endif
12 +#endif
13  
14  #ifndef DEFAULT_BUF_SIZE_MB
15  /* (!) default is 32MB, which is somewhat wasteful for 4x recording
16 @@ -2901,10 +2905,10 @@
17  
18         if (dev_found == 'F') {
19                 off64_t capacity = 0;
20 -               printf("next_session=%lld\n", next_session*CD_BLOCK);
21 +               printf("next_session=%"LLD"\n", next_session*CD_BLOCK);
22                 if (ioctl_handle!=INVALID_HANDLE)
23                         capacity = get_capacity (ioctl_handle);
24 -               printf("capacity=%lld\n", capacity);
25 +               printf("capacity=%"LLD"\n", capacity);
26                 exit(0);
27         }
28  
This page took 0.071078 seconds and 3 git commands to generate.