X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Flibcfs%2Fmodule.c;h=e65c1c7a82a959c49bb11d686d716f34c3d95a12;hb=0b0e9162e26216da8f79f9e970c7c9ce38949b16;hp=4e0440b0cb27609c9a99e7911aaa1fc84c69c86b;hpb=a3099b45f6e0ef12acd4e9565183a3dca78b4ed5;p=fs%2Flustre-release.git diff --git a/libcfs/libcfs/module.c b/libcfs/libcfs/module.c index 4e0440b..e65c1c7 100644 --- a/libcfs/libcfs/module.c +++ b/libcfs/libcfs/module.c @@ -124,7 +124,7 @@ static int proc_dobitmasks(struct ctl_table *table, int write, rc = 0; } else { rc = cfs_trace_copyout_string(buffer, nob, - tmpstr + pos, "\n"); + tmpstr + pos, NULL); } } else { tmpstr = memdup_user_nul(buffer, nob);