ipmievd.c (48117f5ddff03275edaec861164760c53453f4f0) ipmievd.c (eb54136775f63a6a159f3c55ee4772d7aa363cc4)
1/*
2 * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistribution of source code must retain the above copyright

--- 818 unchanged lines hidden (view full) ---

827 lprintf(LOG_ERR, "Unable to load event interface");
828 return -1;
829 }
830
831 eintf->intf = intf;
832
833 if (intf->session != NULL) {
834 snprintf(eintf->prefix,
1/*
2 * Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * Redistribution of source code must retain the above copyright

--- 818 unchanged lines hidden (view full) ---

827 lprintf(LOG_ERR, "Unable to load event interface");
828 return -1;
829 }
830
831 eintf->intf = intf;
832
833 if (intf->session != NULL) {
834 snprintf(eintf->prefix,
835 strlen((const char *)intf->session->hostname) + 3,
836 "%s: ", intf->session->hostname);
835 strlen((const char *)intf->ssn_params.hostname) + 3,
836 "%s: ", intf->ssn_params.hostname);
837 }
838
839 return ipmievd_main(eintf, argc, argv);
840}
841
842int
843ipmievd_open_main(struct ipmi_intf * intf, int argc, char ** argv)
844{

--- 38 unchanged lines hidden ---
837 }
838
839 return ipmievd_main(eintf, argc, argv);
840}
841
842int
843ipmievd_open_main(struct ipmi_intf * intf, int argc, char ** argv)
844{

--- 38 unchanged lines hidden ---