summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-08-04 16:43:30 +0200
committerHelge Deller <deller@gmx.de>2022-08-04 16:43:30 +0200
commit22cd4037493443435abce73d99fcf33b50af68e4 (patch)
tree5d081ab504ac9491b37c686aa940660e3158a22c
parentc6d95074c7f6f1c873f515b700060408d7a6761f (diff)
downloadpalo-22cd4037493443435abce73d99fcf33b50af68e4.tar.gz
palo: Disable some debug info
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--palo/paloio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/palo/paloio.c b/palo/paloio.c
index a925e17..2563632 100644
--- a/palo/paloio.c
+++ b/palo/paloio.c
@@ -21,7 +21,7 @@ seekwrite(int fd, char *buf, unsigned size, __u64 where)
int r = 0;
off_t off;
- if (1) printf("seekwrite(%d, %p, %u, %llu)\n", fd, buf, size, where);
+ if (0) printf("seekwrite(%d, %p, %u, %llu)\n", fd, buf, size, where);
fsync(fd);
if (r != -1 && lseek(fd, where, SEEK_SET) != where)
@@ -78,7 +78,7 @@ seekread(int fd, char *buf, unsigned size, __u64 where)
{
off_t off;
int r = 0;
- if (1) printf("seekread(%d, %p, %x, %lld)\n", fd, buf, size, where);
+ if (0) printf("seekread(%d, %p, %x, %lld)\n", fd, buf, size, where);
if (r != -1 && lseek(fd, where, SEEK_SET) != where)
{