aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/fs/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fs/helper.c')
-rw-r--r--src/plugins/fs/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fs/helper.c b/src/plugins/fs/helper.c
index f17f427b..70ff9e19 100644
--- a/src/plugins/fs/helper.c
+++ b/src/plugins/fs/helper.c
@@ -35,7 +35,7 @@
35 * @return OK on success, SYSERR on error 35 * @return OK on success, SYSERR on error
36 */ 36 */
37int parseTime(const char * t, 37int parseTime(const char * t,
38 cron_t * param) { 38 TIME_T * param) {
39 int pos; 39 int pos;
40 int start; 40 int start;
41 unsigned int val; 41 unsigned int val;
@@ -88,7 +88,7 @@ int parseTime(const char * t,
88 while ( t[pos] == ' ') 88 while ( t[pos] == ' ')
89 pos++; 89 pos++;
90 } 90 }
91 *param = ret; 91 *param = ret / cronSECONDS;
92 return OK; 92 return OK;
93} 93}
94 94