diff options
Diffstat (limited to 'ports/unix/guts/fopen.c')
-rw-r--r-- | ports/unix/guts/fopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/guts/fopen.c b/ports/unix/guts/fopen.c index c7b8da5..de940f5 100644 --- a/ports/unix/guts/fopen.c +++ b/ports/unix/guts/fopen.c @@ -16,14 +16,14 @@ if (rc) { int fd = fileno(rc); - pseudo_debug(2, "fopen '%s': fd %d <FILE %p>\n", path, fd, (void *) rc); + pseudo_debug(PDBGF_OP, "fopen '%s': fd %d <FILE %p>\n", path, fd, (void *) rc); if (base_fstat(fd, &buf) != -1) { if (!existed) { pseudo_client_op(OP_CREAT, 0, -1, -1, path, &buf); } pseudo_client_op(OP_OPEN, pseudo_access_fopen(mode), fd, -1, path, &buf); } else { - pseudo_debug(1, "fopen (fd %d) succeeded, but fstat failed (%s).\n", + pseudo_debug(PDBGF_CONSISTENCY, "fopen (fd %d) succeeded, but fstat failed (%s).\n", fd, strerror(errno)); pseudo_client_op(OP_OPEN, pseudo_access_fopen(mode), fd, -1, path, 0); } |