diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:54 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-14 18:42:54 +0200 |
commit | a8f1f2fbd1fe78c185b5c320c11d0265b49f8668 (patch) | |
tree | 869216c945841ed46e2ca4b69af46f54a738d3cd /util/oem_fujitsu.c | |
parent | 42de6cdd540e080b6e34e5e27cb8c44151711010 (diff) | |
parent | c0cffd791bfaffaad631076141fcdfc000adcac1 (diff) |
Merge tag 'upstream/3.0.4'
Upstream version 3.0.4
Diffstat (limited to 'util/oem_fujitsu.c')
-rw-r--r-- | util/oem_fujitsu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/util/oem_fujitsu.c b/util/oem_fujitsu.c index 362df96..9a4783a 100644 --- a/util/oem_fujitsu.c +++ b/util/oem_fujitsu.c @@ -52,6 +52,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. /* extern void get_mfgid(int *vend, int *prod); * from ipmicmd.h*/ /* extern int get_lan_options(); * from ipmicmd.h */ +static char * progver = "3.04"; +static char * progname = "ifujitsuoem"; static char fdebug = 0; static char freadok = 1; #define ERRLED 0 /*GEL - red Global Error LED*/ @@ -770,4 +772,11 @@ int decode_sensor_fujitsu(uchar *sdr,uchar *reading,char *pstring, int slen) return(rv); } +#ifdef METACOMMAND +int i_fujitsuoem(int argc, char **argv) +{ + printf("%s ver %s\n", progname,progver); + return(0); +} +#endif /* end oem_fujitsu.c */ |