From 7961e34fc2fa8d8ed8f8926e0eef651824019eda Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Dec 2010 03:06:53 +0000 Subject: [PATCH] Fix warning. git-svn-id: svn://localhost/ardour2/branches/3.0@8266 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/lv2_pfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/lv2_pfile.c b/libs/ardour/lv2_pfile.c index 048b3b7891..6576de1ae8 100644 --- a/libs/ardour/lv2_pfile.c +++ b/libs/ardour/lv2_pfile.c @@ -34,7 +34,7 @@ lv2_pfile_open(const char* path, bool write) { FILE* fd = fopen(path, (write ? "w" : "r")); if (!fd) { - fprintf(stderr, strerror(errno)); + fprintf(stderr, "%s", strerror(errno)); return NULL; }