]> git.tuebingen.mpg.de Git - dss.git/blobdiff - err.h
Replace license boilerplate with single line SPDX comments.
[dss.git] / err.h
diff --git a/err.h b/err.h
index c3e207edf4ac076f4d6162cd8925e59dbca1bc0f..9505dfcc99f718ce1f8fe540401446e1dff82e8e 100644 (file)
--- a/err.h
+++ b/err.h
@@ -1,8 +1,4 @@
-/*
- * Copyright (C) 2006-2010 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* SPDX-License-Identifier: GPL-2.0 */
 extern char *dss_errlist[];
 extern char *dss_error_txt;
 
@@ -48,6 +44,7 @@ static inline char *dss_strerror(int num)
        DSS_ERROR(INVALID_NUMBER, "invalid number"), \
        DSS_ERROR(STRFTIME, "strftime() failed"), \
        DSS_ERROR(LOCALTIME, "localtime() failed"), \
+       DSS_ERROR(MOUNTPOINT, "destination directory is no mountpoint"), \
        DSS_ERROR(NULL_OPEN, "can not open /dev/null"), \
        DSS_ERROR(DUP_PIPE, "exec error: can not create pipe"), \
        DSS_ERROR(INVOLUNTARY_EXIT, "unexpected termination cause"), \