cdrom_id: remove debugging code

This commit is contained in:
Harald Hoyer 2010-04-07 09:23:46 +02:00 committed by Kay Sievers
parent 1c8dc990dc
commit 36a07a8c34

View File

@ -126,7 +126,6 @@ static int is_mounted(const char *device)
if (fp == NULL)
return -ENOSYS;
while (fscanf(fp, "%*s %*s %i:%i %*[^\n]", &maj, &min) == 2) {
printf("got %u %u\n", maj, min);
if (makedev(maj, min) == statbuf.st_rdev) {
mounted = 1;
break;