projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
oss: Add proper error message on init.
[paraslash.git]
/
oss_write.c
diff --git
a/oss_write.c
b/oss_write.c
index f075ce502900e03e3fb743229e9f6ca7c735725e..f1e901993120008eb67a221c438b1b3f5c3a3c10 100644
(file)
--- a/
oss_write.c
+++ b/
oss_write.c
@@
-152,6
+152,8
@@
err:
close(powd->fd);
err_free:
free(powd);
+ PARA_ERROR_LOG("failed to init %s: %s\n", conf->device_arg,
+ para_strerror(-ret));
return ret;
}