Here's a temporary patch to make "sel time set" functionality work again,
while being standard compliant:

--- lib/ipmi_sel.c.ORIG 2006-08-22 15:50:13.000000000 +0200
+++ lib/ipmi_sel.c      2006-09-12 14:55:29.505018222 +0200
@@ -1533,7 +1533,7 @@
        struct tm            tm;
        time_t               t;
        uint32_t             timei;
-       const char *         time_format = "%m/%d/%Y %H:%M:%S";
+       const char *         time_format = "%m/%d/%YT%H:%M:%S";
 
        memset(&req, 0, sizeof(req));
        req.msg.netfn    = IPMI_NETFN_STORAGE;

(since this was taken from another mail, and edited by hand, take care of
blanks and tabs)

Of course the input format must be adjusted (T instead of blank as separator)

Steffen
-- 
Steffen Grunewald * MPI Grav.Phys.(AEI) * Am Mühlenberg 1, D-14476 Potsdam
Cluster Admin * http://pandora.aei.mpg.de/merlin/ * http://www.aei.mpg.de/
* e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}
No Word/PPT mails - http://www.gnu.org/philosophy/no-word-attachments.html


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to