aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/application.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-30 21:26:17 +0200
committerMarvin W <git@larma.de>2017-03-30 22:38:51 +0200
commit3733d24a9066bdd3e038d642a62cf642abd0b0bf (patch)
treecd62d02094108e2449b68d3da3aa65c03c3f5883 /libdino/src/application.vala
parente910b39751a90f977110190b12cdb738f6a1d132 (diff)
downloaddino-3733d24a9066bdd3e038d642a62cf642abd0b0bf.tar.gz
dino-3733d24a9066bdd3e038d642a62cf642abd0b0bf.zip
Fix -Werror=format-security issues
Diffstat (limited to 'libdino/src/application.vala')
-rw-r--r--libdino/src/application.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/application.vala b/libdino/src/application.vala
index 9cabf0f4..99cef929 100644
--- a/libdino/src/application.vala
+++ b/libdino/src/application.vala
@@ -10,7 +10,7 @@ public class Dino.Application : Gtk.Application {
public Application() throws Error {
if (DirUtils.create_with_parents(get_storage_dir(), 0700) == -1) {
- throw new Error(-1, 0, @"Could not create storage dir \"$(get_storage_dir())\": $(FileUtils.error_from_errno(errno))");
+ throw new Error(-1, 0, "Could not create storage dir \"%s\": %s", get_storage_dir(), FileUtils.error_from_errno(errno).to_string());
}
// FIXME: Legacy import