summaryrefslogtreecommitdiff
path: root/src/Panorama.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-09 19:30:48 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-08-09 19:30:48 +0200
commit156f9abea4f1a575324e5b9269d48407241718c3 (patch)
tree6bea5efe72a69f7998b45ef93998112635d61626 /src/Panorama.cxx
parent22968b805a4b7abbbf24f5e6e6e6ec68eef5d5a0 (diff)
fix segfault in error printf
Diffstat (limited to 'src/Panorama.cxx')
-rw-r--r--src/Panorama.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index 19bdb18..516b688 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -87,7 +87,7 @@ int
Panorama::set_viewpoint(const char *name) {
Hill *m = get_pos(name);
if (m == NULL) {
- fprintf(stderr, "Could not find exactly one entry for %s.\n");
+ fprintf(stderr, "Could not find exactly one entry for %s.\n", name);
return 1;
}