return value for non-void function, for -Wall compile

This commit is contained in:
Duncan Laurie 2005-01-07 22:55:55 +00:00
parent ad932e0cfd
commit 46f3f3d4db

View File

@ -112,7 +112,7 @@ ipmi_sensor_print_full_discrete(struct ipmi_intf * intf,
struct ipmi_rs * rsp;
if (sensor == NULL)
return;
return -1;
memset(id, 0, sizeof(id));
memcpy(id, sensor->id_string, 16);