Skip to content

Commit 76bda8a

Browse files
hcahcaAlexander Gordeev
authored andcommitted
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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent 3bcc8a1 commit 76bda8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/char/vmlogrdr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp)
356356
if (connect_rc) {
357357
pr_err("vmlogrdr: iucv connection to %s "
358358
"failed with rc %i \n",
359-
logptr->system_service, connect_rc);
359+
logptr->internal_name, connect_rc);
360360
goto out_path;
361361
}
362362

0 commit comments

Comments
 (0)