git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update readme introduction part, add demo screen-shot
[lunaix-os.git]
/
lunaix-os
/
kernel
/
fs
/
fs_export.c
diff --git
a/lunaix-os/kernel/fs/fs_export.c
b/lunaix-os/kernel/fs/fs_export.c
index 046204f026e556b5e4736433710df8362bc29e83..1fedef6505c0fc1edb85e6131cba9a2286f74f37 100644
(file)
--- a/
lunaix-os/kernel/fs/fs_export.c
+++ b/
lunaix-os/kernel/fs/fs_export.c
@@
-41,12
+41,9
@@
void
__version_rd(struct twimap* map)
{
twimap_printf(map,
__version_rd(struct twimap* map)
{
twimap_printf(map,
- "LunaixOS version %s (%s-gnu-gcc %s) %s %s",
- LUNAIX_VER,
- PLATFORM_TARGET,
- __VERSION__,
- __DATE__,
- __TIME__);
+ "Lunaix "
+ CONFIG_LUNAIX_VER
+ " (gnu-cc " __VERSION__ ") " __DATE__ " " __TIME__);
}
void
}
void
@@
-59,4
+56,5
@@
vfs_export_attributes()
map = twifs_mapping(NULL, NULL, "version");
map->read = __version_rd;
map = twifs_mapping(NULL, NULL, "version");
map->read = __version_rd;
-}
\ No newline at end of file
+}
+EXPORT_TWIFS_PLUGIN(vfs_general, vfs_export_attributes);
\ No newline at end of file