mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
s390/vmlogrdr: Use internal_name for error messages
Use the internal_name member of vmlogrdr_priv_t to print error messages instead of the system_service member. The system_service member is not a string, but a non-null terminated eight byte character array, which contains the ASCII representation of a z/VM system service. Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
This commit is contained in:
committed by
Alexander Gordeev
parent
3bcc8a1af5
commit
76bda8a16d
@@ -356,7 +356,7 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp)
|
||||
if (connect_rc) {
|
||||
pr_err("vmlogrdr: iucv connection to %s "
|
||||
"failed with rc %i \n",
|
||||
logptr->system_service, connect_rc);
|
||||
logptr->internal_name, connect_rc);
|
||||
goto out_path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user