chiark / gitweb /
cdrom_id: remove debugging code
authorHarald Hoyer <harald@redhat.com>
Wed, 7 Apr 2010 07:23:46 +0000 (09:23 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 7 Apr 2010 07:23:46 +0000 (09:23 +0200)
extras/cdrom_id/cdrom_id.c

index e485768de41154488a3b4d659dbfb8fd47e629bd..036ef284bf89a25b7783d837a48bba0d3dc6f0c1 100644 (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;