Fix warning better.
authorCarl Hetherington <carl@carlh.net>
Tue, 14 Dec 2010 03:08:39 +0000 (03:08 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 14 Dec 2010 03:08:39 +0000 (03:08 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8267 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/lv2_pfile.c

index 6576de1ae87db1b369d1163aed3eb53ef1ad49c0..f5c1c02a78043dd72afa538adeb9b1ea3df32ae8 100644 (file)
@@ -34,7 +34,7 @@ lv2_pfile_open(const char* path, bool write)
 {
        FILE* fd = fopen(path, (write ? "w" : "r"));
        if (!fd) {
-               fprintf(stderr, "%s", strerror(errno));
+               fprintf(stderr, "%s\n", strerror(errno));
                return NULL;
        }