X-Git-Url: http://git.tuebingen.mpg.de/?p=dss.git;a=blobdiff_plain;f=err.h;h=e747bf3c1e1c079afe0188da066d9c4ac572d222;hp=e7aced084542cb8d05fec76d49839e6d25b4cef8;hb=c9fd9f2239319b95c46e49b1b7040e1a898cdcf7;hpb=01ed0597ca37173df783d9a6816cf13d7a1435f9 diff --git a/err.h b/err.h index e7aced0..e747bf3 100644 --- a/err.h +++ b/err.h @@ -48,6 +48,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"), \ @@ -56,7 +57,9 @@ static inline char *dss_strerror(int num) DSS_ERROR(SIGNAL, "caught terminating signal"), \ DSS_ERROR(BUG, "values of beta might cause dom!"), \ DSS_ERROR(NOT_RUNNING, "dss not running"), \ - DSS_ERROR(TOO_MANY_RSYNC_ERRORS, "too many consecutive rsync errors") + DSS_ERROR(ALREADY_RUNNING, "dss already running"), \ + DSS_ERROR(TOO_MANY_RSYNC_ERRORS, "too many consecutive rsync errors"), \ + DSS_ERROR(LOPSUB, "lopsub error") /** * This is temporarily defined to expand to its first argument (prefixed by