All pastes #800804 Raw Edit

Someone

public c v1 · immutable
#800804 ·published 2007-11-28 19:37 UTC
rendered paste body
        str_out = (char *)calloc(strlen(attributename) + strlen(disk_current_buf) + strlen(disk_worst_buf) + 16, sizeof(char));        strcat (str_out, attributename);        strcat (str_out, ": ");        strcat (str_out, disk_current_buf);        strcat (str_out, ",");        strcat (str_out, disk_worst_buf);        strcat (str_out, " - ");        syslog(LOG_INFO, "%s",str_out);        #ifdef DEBUG        printf("%s", str_out);        #endif