projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
828d7e8
)
db.c: use PARA_STRERROR()...
author
Andre
<maan@p133.(none)>
Tue, 14 Mar 2006 16:51:36 +0000
(17:51 +0100)
committer
Andre
<maan@p133.(none)>
Tue, 14 Mar 2006 16:51:36 +0000
(17:51 +0100)
... instead of logging the error number only.
db.c
patch
|
blob
|
history
diff --git
a/db.c
b/db.c
index a1cc1aebc09e18c01d2685919bd6c407447d4c8b..26f82d4a26d2ebbeb94be0f05a176df98692f4d9 100644
(file)
--- a/
db.c
+++ b/
db.c
@@
-123,6
+123,6
@@
out:
ret = -E_CHDIR;
close(cwd_fd);
if (ret < 0)
ret = -E_CHDIR;
close(cwd_fd);
if (ret < 0)
- PARA_ERROR_LOG("
ret = %x\n", -ret
);
+ PARA_ERROR_LOG("
%s\n", PARA_STRERROR(-ret)
);
return ret;
}
return ret;
}