Use isprint instead of isalpha in determining valid ident string.

This commit is contained in:
Søren Schmidt 2003-10-12 11:10:41 +00:00
parent 00c62ed413
commit 61dbcc0d05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121026

View file

@ -563,7 +563,7 @@ ata_getparam(struct ata_device *atadev, u_int8_t command)
}
ata_free_request(request);
}
if (!isalpha(atacap->model[0]) || !isalpha(atacap->model[1]))
if (!isprint(atacap->model[0]) || !isprint(atacap->model[1]))
error = ENXIO;
if (error) {
atadev->param = NULL;