staging: sep: using strlcpy instead of strncpy
authorChen Gang <gang.chen@asianux.com>
Sun, 17 Feb 2013 03:53:15 +0000 (11:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:15:32 +0000 (09:15 -0700)
commit6d8a94e67f0448f11279eee27d3b0ede06ba07d7
tree55b8e57a7dcbdc53b3715da506c96cedef48d553
parentacb84e9ec213a51578a00cdf14650610c174ef9b
staging: sep: using strlcpy instead of strncpy

  set '\0' at tail for NUL terminated string, or TP_printk may cause issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sep/sep_trace_events.h