diff options
author | Kelly Yancey <kbyanc@FreeBSD.org> | 2000-08-08 09:27:55 +0000 |
---|---|---|
committer | Kelly Yancey <kbyanc@FreeBSD.org> | 2000-08-08 09:27:55 +0000 |
commit | cb498c18f89675c7d606fe106cad681f13a03491 (patch) | |
tree | e2808a3402a0c7657703e6ed594f18054255df6d /sbin/camcontrol/modeedit.c | |
parent | ec6d58d33feb81f82bd29fcfcfa83923fd8d0da0 (diff) | |
download | src-cb498c18f89675c7d606fe106cad681f13a03491.tar.gz src-cb498c18f89675c7d606fe106cad681f13a03491.zip |
Fix some whitespace errors.
Pointed out by: ps
Notes
Notes:
svn path=/head/; revision=64393
Diffstat (limited to 'sbin/camcontrol/modeedit.c')
-rw-r--r-- | sbin/camcontrol/modeedit.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sbin/camcontrol/modeedit.c b/sbin/camcontrol/modeedit.c index faf592fc0dd2..745721e09b15 100644 --- a/sbin/camcontrol/modeedit.c +++ b/sbin/camcontrol/modeedit.c @@ -571,32 +571,32 @@ editlist_save(struct cam_device *device, int modepage, int page_control, return; /* - * Preload the CDB buffer with the current mode page data. + * Preload the CDB buffer with the current mode page data. * XXX If buff_encode_visit would return the number of bytes encoded * we *should* use that to build a header from scratch. As it is * now, we need mode_sense to find out the page length. */ - mode_sense(device, modepage, page_control, dbd, retries, timeout, data, - sizeof(data)); + mode_sense(device, modepage, page_control, dbd, retries, timeout, data, + sizeof(data)); /* Initial headers & offsets. */ mh = (struct scsi_mode_header_6 *)data; - mph = MODE_PAGE_HEADER(mh); - mode_pars = MODE_PAGE_DATA(mph); + mph = MODE_PAGE_HEADER(mh); + mode_pars = MODE_PAGE_DATA(mph); - /* Encode the value data to be passed back to the device. */ - buff_encode_visit(mode_pars, mh->data_length, format, + /* Encode the value data to be passed back to the device. */ + buff_encode_visit(mode_pars, mh->data_length, format); editentry_save, 0); - /* Eliminate block descriptors. */ - bcopy(mph, ((u_int8_t *)mh) + sizeof(*mh), - sizeof(*mph) + mph->page_length); + /* Eliminate block descriptors. */ + bcopy(mph, ((u_int8_t *)mh) + sizeof(*mh), + sizeof(*mph) + mph->page_length); /* Recalculate headers & offsets. */ mh->blk_desc_len = 0; /* No block descriptors. */ mh->dev_spec = 0; /* Clear device-specific parameters. */ - mph = MODE_PAGE_HEADER(mh); - mode_pars = MODE_PAGE_DATA(mph); + mph = MODE_PAGE_HEADER(mh); + mode_pars = MODE_PAGE_DATA(mph); mph->page_code &= SMS_PAGE_CODE;/* Isolate just the page code. */ mh->data_length = 0; /* Reserved for MODE SELECT command. */ |