diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-15 18:02:22 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-15 18:02:22 +0000 |
commit | a8123d19a63f49e1d6a450f696c571e6b433ee39 (patch) | |
tree | e6e04859f99de6657045f4a0821517e14bf716d1 /libdiskfs | |
parent | 268ba35dd5f89f3a200f79601b14d5dba7152f87 (diff) |
Formerly io-version.c.~2~
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/io-version.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libdiskfs/io-version.c b/libdiskfs/io-version.c index 2529109d..678ceb00 100644 --- a/libdiskfs/io-version.c +++ b/libdiskfs/io-version.c @@ -19,6 +19,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* Written by Michael I. Bushnell. */ +#include "priv.h" +#include "io_S.h" + diskfs_S_io_server_version (struct protid *cred, char *server_name, int *major, @@ -26,7 +29,13 @@ diskfs_S_io_server_version (struct protid *cred, int *edit) { if (cred) - return diskfs_server_version (server_name, major, minor, edit); + { + strcpy (server_name, diskfs_server_name); + *major = diskfs_major_version; + *minor = diskfs_minor_version; + *edit = diskfs_edit_version; + return 0; + } else return EOPNOTSUPP; } |