Architectural Support: x86_64 (#37)
[lunaix-os.git] / lunaix-os / kernel / fs / fs_export.c
index 046204f026e556b5e4736433710df8362bc29e83..1fedef6505c0fc1edb85e6131cba9a2286f74f37 100644 (file)
@@ -41,12 +41,9 @@ void
 __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
@@ -59,4 +56,5 @@ vfs_export_attributes()
 
     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