diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-12-18 11:43:27 -0500 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-12-18 11:43:33 -0500 |
commit | 1d802e24774c94ec7bdb12b6515226f3341533c1 (patch) | |
tree | 3ef93ce8ed49aedd4feb4c292d9bb4b6284518b2 /drivers | |
parent | 8bcd9b04fdbab9cee4948501f8862af2a288f1b5 (diff) |
[S390] Use strim instead of strstrip to avoid false warnings.
Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/s390/char/tape_3590.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/tape_3590.c b/drivers/s390/char/tape_3590.c index b2eb94aab022..9821c5886613 100644 --- a/drivers/s390/char/tape_3590.c +++ b/drivers/s390/char/tape_3590.c | |||
@@ -137,7 +137,7 @@ static void int_to_ext_kekl(struct tape3592_kekl *in, | |||
137 | out->type_on_tape = TAPE390_KEKL_TYPE_LABEL; | 137 | out->type_on_tape = TAPE390_KEKL_TYPE_LABEL; |
138 | memcpy(out->label, in->label, sizeof(in->label)); | 138 | memcpy(out->label, in->label, sizeof(in->label)); |
139 | EBCASC(out->label, sizeof(in->label)); | 139 | EBCASC(out->label, sizeof(in->label)); |
140 | strstrip(out->label); | 140 | strim(out->label); |
141 | } | 141 | } |
142 | 142 | ||
143 | static void int_to_ext_kekl_pair(struct tape3592_kekl_pair *in, | 143 | static void int_to_ext_kekl_pair(struct tape3592_kekl_pair *in, |