camlib.c: update one overlooked comment

This commit is contained in:
Andriy Gapon 2010-10-11 21:34:35 +00:00
parent 5ef9804274
commit 84803238a8

View File

@ -165,9 +165,9 @@ cam_get_device(const char *path, char *dev_name, int devnamelen, int *unit)
}
/*
* After we nuke off the slice, we should have just a device name
* and unit number. That means there must be at least 2
* characters. If we only have 1, we don't have a valid device name.
* We should now have just a device name and unit number.
* That means that there must be at least 2 characters.
* If we only have 1, we don't have a valid device name.
*/
if (strlen(tmpstr) < 2) {
sprintf(cam_errbuf,