diff options
author | kbyanc <kbyanc@FreeBSD.org> | 2000-08-08 09:27:55 +0000 |
---|---|---|
committer | kbyanc <kbyanc@FreeBSD.org> | 2000-08-08 09:27:55 +0000 |
commit | 09ec834a5fe8241f4076bd4089e713fce984b979 (patch) | |
tree | a9b334401d0d4812eb8a9640afc18c2b023f9a18 /sbin | |
parent | 6732d791f86db4d92eaaacdc0451927db66661dd (diff) | |
download | FreeBSD-src-09ec834a5fe8241f4076bd4089e713fce984b979.zip FreeBSD-src-09ec834a5fe8241f4076bd4089e713fce984b979.tar.gz |
Fix some whitespace errors.
Pointed out by: ps
Diffstat (limited to 'sbin')
-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 faf592f..745721e 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. */ |