summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 23:26:32 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 23:26:32 +0100
commit2d8f0f782ccabfa49a14f5fd82c8a5dea521e3cd (patch)
tree7b336f979bd78c0b8105a16ca7a34f18ed8aa402 /src/tools
parentc39979ef676b49e97129c5f29c2e2c700fdc1d3a (diff)
Fix some warnings.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_kdm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc
index 7d8841304..f9ed15544 100644
--- a/src/tools/dcpomatic_kdm.cc
+++ b/src/tools/dcpomatic_kdm.cc
@@ -177,7 +177,7 @@ int main (int argc, char* argv[])
} else if (string (optarg) == "dci-specific") {
formulation = dcp::DCI_SPECIFIC;
} else {
- error ("unrecognised KDM formulation " + formulation);
+ error ("unrecognised KDM formulation " + string (optarg));
}
}
}