Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@8266 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
eb5870781a
commit
7961e34fc2
@ -34,7 +34,7 @@ lv2_pfile_open(const char* path, bool write)
|
|||||||
{
|
{
|
||||||
FILE* fd = fopen(path, (write ? "w" : "r"));
|
FILE* fd = fopen(path, (write ? "w" : "r"));
|
||||||
if (!fd) {
|
if (!fd) {
|
||||||
fprintf(stderr, strerror(errno));
|
fprintf(stderr, "%s", strerror(errno));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user