Reacted on compiler warning of gcc on NetBSD-current
This commit is contained in:
parent
1f1ccfbff1
commit
4fcd2c1f4d
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2014.06.10.130721"
|
#define Cdrskin_timestamP "2014.06.20.145224"
|
||||||
|
@ -730,7 +730,7 @@ int burn_os_is_2k_seekrw(char *path, int flag)
|
|||||||
{
|
{
|
||||||
struct stat stbuf;
|
struct stat stbuf;
|
||||||
int l, i, dev, tl;
|
int l, i, dev, tl;
|
||||||
char try[16], *cpt;
|
char try[16];
|
||||||
|
|
||||||
/* >>> ??? Is this a comprehensive list of lseek()-capable devices ? */
|
/* >>> ??? Is this a comprehensive list of lseek()-capable devices ? */
|
||||||
/* http://www.netbsd.org/docs/guide/en/chap-rmmedia.html */
|
/* http://www.netbsd.org/docs/guide/en/chap-rmmedia.html */
|
||||||
@ -755,7 +755,6 @@ int burn_os_is_2k_seekrw(char *path, int flag)
|
|||||||
tl = strlen(try);
|
tl = strlen(try);
|
||||||
if (strncmp(path, try, tl) != 0)
|
if (strncmp(path, try, tl) != 0)
|
||||||
continue;
|
continue;
|
||||||
cpt = path + tl;
|
|
||||||
l -= tl;
|
l -= tl;
|
||||||
for (i = 0; i < Libburn_netbsd_max_cdnuM; i++) {
|
for (i = 0; i < Libburn_netbsd_max_cdnuM; i++) {
|
||||||
sprintf(try + tl, "%d", i);
|
sprintf(try + tl, "%d", i);
|
||||||
|
Loading…
Reference in New Issue
Block a user