]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.c
Minor help text improvements/fixes.
[dss.git] / dss.c
diff --git a/dss.c b/dss.c
index 238d8403659bd377a2fea92aad0713264cdbcd5e..0083e2ecae86310a679f201a81d408f3d1c882a4 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1,3 +1,8 @@
+/*
+ * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
 #include <string.h>
 #include <stdlib.h>
 #include <stdarg.h>
@@ -341,7 +346,7 @@ static int try_to_free_disk_space(int low_disk_space)
        if (ret)
                goto out;
        DSS_CRIT_LOG("uhuhu: not enough disk space for a single snapshot\n");
-       ret= -ENOSPC;
+       ret = -ERRNO_TO_DSS_ERROR(ENOSPC);
 out:
        free_snapshot_list(&sl);
        return ret;