|
|
|
@ -307,7 +307,7 @@ static int stat_read(struct ast_channel *chan, const char *cmd, char *data,
|
|
|
|
|
snprintf(buf, len, "%d", (int) s.st_ctime);
|
|
|
|
|
break;
|
|
|
|
|
case 'm':
|
|
|
|
|
snprintf(buf, len, "%o", s.st_mode);
|
|
|
|
|
snprintf(buf, len, "%o", (unsigned int) s.st_mode);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|