diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-04-08 05:04:35 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-04-08 05:04:35 +0200 |
commit | f7dd3a57a40282f1c3fb9ad90a30d58b31b64ff8 (patch) | |
tree | 006e58b9bcddd7bac4e37b503e2060c57475f80d /extras/volume_id/lib/util.c | |
parent | 03149e13c2f70f93e370c94f9c9a71129287bc1b (diff) |
volume_id: move some debug to info level
Diffstat (limited to 'extras/volume_id/lib/util.c')
-rw-r--r-- | extras/volume_id/lib/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/volume_id/lib/util.c b/extras/volume_id/lib/util.c index cf5392cf9a..09bfc67500 100644 --- a/extras/volume_id/lib/util.c +++ b/extras/volume_id/lib/util.c @@ -180,7 +180,7 @@ uint8_t *volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) { ssize_t buf_len; - dbg("get buffer off 0x%llx(%llu), len 0x%zx", (unsigned long long) off, (unsigned long long) off, len); + info("get buffer off 0x%llx(%llu), len 0x%zx", (unsigned long long) off, (unsigned long long) off, len); /* check if requested area fits in superblock buffer */ if (off + len <= SB_BUFFER_SIZE) { if (id->sbbuf == NULL) { @@ -193,7 +193,7 @@ uint8_t *volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) /* check if we need to read */ if ((off + len) > id->sbbuf_len) { - dbg("read sbbuf len:0x%llx", (unsigned long long) (off + len)); + info("read sbbuf len:0x%llx", (unsigned long long) (off + len)); if (lseek(id->fd, 0, SEEK_SET) < 0) { dbg("lseek failed (%s)", strerror(errno)); return NULL; @@ -229,7 +229,7 @@ uint8_t *volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) /* check if we need to read */ if ((off < id->seekbuf_off) || ((off + len) > (id->seekbuf_off + id->seekbuf_len))) { - dbg("read seekbuf off:0x%llx len:0x%zx", (unsigned long long) off, len); + info("read seekbuf off:0x%llx len:0x%zx", (unsigned long long) off, len); if (lseek(id->fd, off, SEEK_SET) < 0) { dbg("lseek failed (%s)", strerror(errno)); return NULL; |