From: Andreas D. <ad...@us...> - 2003-06-18 08:33:40
|
Update of /cvsroot/lustre/lustre/obdclass In directory sc8-pr-cvs1:/tmp/cvs-serv16460/obdclass Modified Files: Tag: b_devel class_obd.c Log Message: Fix obd_class_ioctl() error message. Index: class_obd.c =================================================================== RCS file: /cvsroot/lustre/lustre/obdclass/class_obd.c,v retrieving revision 1.162.2.35 retrieving revision 1.162.2.36 diff -u -w -b -B -p -r1.162.2.35 -r1.162.2.36 --- class_obd.c 16 Jun 2003 18:02:31 -0000 1.162.2.35 +++ class_obd.c 18 Jun 2003 08:33:36 -0000 1.162.2.36 @@ -247,7 +247,8 @@ int class_handle_ioctl(struct obd_class_ case OBD_IOC_DEVICE: { CDEBUG(D_IOCTL, "\n"); if (data->ioc_dev >= MAX_OBD_DEVICES || data->ioc_dev < 0) { - CERROR("OBD ioctl: DEVICE insufficient devices\n"); + CERROR("OBD ioctl: DEVICE invalid device %d\n", + data->ioc_dev); GOTO(out, err = -EINVAL); } CDEBUG(D_IOCTL, "device %d\n", data->ioc_dev); |