diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2025-01-24 14:51:53 +0100 | 
|---|---|---|
| committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2025-01-29 13:44:21 +0100 | 
| commit | 76bda8a16d77063cffea9fc4e3ead033afba9d6d (patch) | |
| tree | 30487b904729da280461e2f711b21d0136901dbb /drivers | |
| parent | 3bcc8a1af581af152d43e42b53db3534018301b5 (diff) | |
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>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/s390/char/vmlogrdr.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 3dd50ac9c5b0..374f06c77a86 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c @@ -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;  	} | 
