diff options
Diffstat (limited to 'ports/darwin/guts')
-rw-r--r-- | ports/darwin/guts/fcntl.c | 4 | ||||
-rw-r--r-- | ports/darwin/guts/open.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ports/darwin/guts/fcntl.c b/ports/darwin/guts/fcntl.c index 1cc8258..c0b142b 100644 --- a/ports/darwin/guts/fcntl.c +++ b/ports/darwin/guts/fcntl.c @@ -24,7 +24,7 @@ /* actually do something */ save_errno = errno; if (rc != -1) { - pseudo_debug(2, "fcntl_dup: %d->%d\n", fd, rc); + pseudo_debug(PDBGF_OP, "fcntl_dup: %d->%d\n", fd, rc); pseudo_client_op(OP_DUP, 0, fd, rc, 0, 0); } errno = save_errno; @@ -35,7 +35,7 @@ } save_errno = errno; - pseudo_debug(3, "fcntl(fd %d, cmd %d, %llx) => %d (%s)\n", + pseudo_debug(PDBGF_OP, "fcntl(fd %d, cmd %d, %llx) => %d (%s)\n", fd, cmd, flag, rc, strerror(errno)); errno = save_errno; diff --git a/ports/darwin/guts/open.c b/ports/darwin/guts/open.c index c66cc15..8680e20 100644 --- a/ports/darwin/guts/open.c +++ b/ports/darwin/guts/open.c @@ -19,7 +19,7 @@ rc = real_stat(path, &buf); existed = (rc != -1); if (!existed) - pseudo_debug(2, "open_creat: %s -> 0%o\n", path, mode); + pseudo_debug(PDBGF_FILE, "open_creat: %s -> 0%o\n", path, mode); errno = save_errno; } @@ -42,7 +42,7 @@ } pseudo_client_op(OP_OPEN, PSEUDO_ACCESS(flags), rc, -1, path, &buf); } else { - pseudo_debug(1, "open (fd %d, path %s, flags %d) succeeded, but stat failed (%s).\n", + pseudo_debug(PDBGF_CONSISTENCY, "open (fd %d, path %s, flags %d) succeeded, but stat failed (%s).\n", rc, path, flags, strerror(errno)); pseudo_client_op(OP_OPEN, PSEUDO_ACCESS(flags), rc, -1, path, 0); } |