Re: [RFC PATCH V2] core_pattern: fix long parameters was truncated by core_pattern handler

From: Denys Vlasenko
Date: Mon Aug 02 2010 - 10:30:35 EST

> +                               rc = snprintf(NULL, 0, "%s", current->comm);

rc = strlen(current->comm) would be smaller

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at