Avoid that /sys/module/ib_srpt/parameters/srpt_service_guid contains a double newline.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1902 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-08-01 19:12:34 +00:00
parent 02d6dc9860
commit a851118fe6

View File

@@ -144,7 +144,7 @@ MODULE_PARM_DESC(use_port_guid_in_session_name,
static int srpt_get_u64_x(char *buffer, struct kernel_param *kp)
{
return sprintf(buffer, "0x%016llx\n", *(u64 *)kp->arg);
return sprintf(buffer, "0x%016llx", *(u64 *)kp->arg);
}
module_param_call(srpt_service_guid, NULL, srpt_get_u64_x, &srpt_service_guid,
0444);