]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
Fixed typo.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 1d7f7fbdaf0115af5cbf9e43901cd0122c74fbb7..8f632cbea50ce34ef91c041e944f17c77db6b8cd 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -158,7 +158,7 @@ static void dump_dss_config(const char *msg)
        fprintf(log, "\n*** internal state ***\n\n");
        fprintf(log,
                "pid: %d\n"
-               "logile: %s\n"
+               "logfile: %s\n"
                "snapshot_currently_being_removed: %s\n"
                "path_to_last_complete_snapshot: %s\n"
                "reference_snapshot: %s\n"
@@ -1778,7 +1778,7 @@ static void handle_version_and_help(void)
        else if (OPT_GIVEN(DSS, HELP))
                txt = lls_short_help(CMD_PTR(DSS));
        else if (OPT_GIVEN(DSS, VERSION))
-               txt = dss_strdup(VERSION_STRING);
+               txt = make_message("%s\n", VERSION_STRING);
        else
                return;
        printf("%s", txt);