diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:33:12 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-11 16:33:12 +0000 |
commit | e6fb730daa347e6e4866166857ae7b23c0ad378b (patch) | |
tree | 6154df03524997b7af62b85bf2b7766787c9e37f /target/linux/generic | |
parent | d9857f546862b6bcc094f63c18bb3ef7a3f1c789 (diff) | |
download | mtk-20170518-e6fb730daa347e6e4866166857ae7b23c0ad378b.zip mtk-20170518-e6fb730daa347e6e4866166857ae7b23c0ad378b.tar.gz mtk-20170518-e6fb730daa347e6e4866166857ae7b23c0ad378b.tar.bz2 |
yaffs2: remove __TIME__ __DATE__ macros
prevent compiler errors with gcc 4.9
increase reproducibility
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 46858
Diffstat (limited to 'target/linux/generic')
-rw-r--r-- | target/linux/generic/files/fs/yaffs2/yaffs_vfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/files/fs/yaffs2/yaffs_vfs.c b/target/linux/generic/files/fs/yaffs2/yaffs_vfs.c index 6540434..864a5dc 100644 --- a/target/linux/generic/files/fs/yaffs2/yaffs_vfs.c +++ b/target/linux/generic/files/fs/yaffs2/yaffs_vfs.c @@ -3250,7 +3250,7 @@ static int yaffs_proc_read(char *page, if (step == 0) buf += sprintf(buf, - "Multi-version YAFFS built:" __DATE__ " " __TIME__ + "Multi-version YAFFS." "\n"); else if (step == 1) buf += sprintf(buf, "\n"); @@ -3601,7 +3601,7 @@ static int __init init_yaffs_fs(void) struct file_system_to_install *fsinst; yaffs_trace(YAFFS_TRACE_ALWAYS, - "yaffs built " __DATE__ " " __TIME__ " Installing."); + "yaffs Installing."); mutex_init(&yaffs_context_lock); @@ -3642,7 +3642,7 @@ static void __exit exit_yaffs_fs(void) struct file_system_to_install *fsinst; yaffs_trace(YAFFS_TRACE_ALWAYS, - "yaffs built " __DATE__ " " __TIME__ " removing."); + "yaffs removing."); remove_proc_entry("yaffs", YPROC_ROOT); |