diff options
author | phk <phk@FreeBSD.org> | 2002-10-20 16:00:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-20 16:00:43 +0000 |
commit | 241a8a98189a70d56c63966e7beee5245be55705 (patch) | |
tree | f65bc4f3943a3865fc180deca88f049c49a7ec39 /sys/dev | |
parent | d47de0d27fbada3af2ac90d1a0784a6265ce3ee2 (diff) | |
download | FreeBSD-src-241a8a98189a70d56c63966e7beee5245be55705.zip FreeBSD-src-241a8a98189a70d56c63966e7beee5245be55705.tar.gz |
Fix mis-indentation.
Approved by: scottl
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/aac/aac.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index 2e1dbf1..426600b 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -2463,7 +2463,7 @@ aac_handle_aif(struct aac_softc *sc, struct aac_fib *fib) if (added) bus_generic_attach(sc->aac_dev); - break; + break; default: break; @@ -2628,23 +2628,23 @@ aac_query_disk(struct aac_softc *sc, caddr_t uptr) break; } - if (co == NULL) { + if (co == NULL) { query_disk.Valid = 0; query_disk.Locked = 0; query_disk.Deleted = 1; /* XXX is this right? */ - } else { - disk = device_get_softc(co->co_disk); - query_disk.Valid = 1; - query_disk.Locked = - (disk->ad_flags & AAC_DISK_OPEN) ? 1 : 0; - query_disk.Deleted = 0; - query_disk.Bus = device_get_unit(sc->aac_dev); - query_disk.Target = disk->unit; - query_disk.Lun = 0; - query_disk.UnMapped = 0; - bcopy(disk->ad_dev_t->si_name, - &query_disk.diskDeviceName[0], 10); - } + } else { + disk = device_get_softc(co->co_disk); + query_disk.Valid = 1; + query_disk.Locked = + (disk->ad_flags & AAC_DISK_OPEN) ? 1 : 0; + query_disk.Deleted = 0; + query_disk.Bus = device_get_unit(sc->aac_dev); + query_disk.Target = disk->unit; + query_disk.Lun = 0; + query_disk.UnMapped = 0; + bcopy(disk->ad_dev_t->si_name, + &query_disk.diskDeviceName[0], 10); + } AAC_LOCK_RELEASE(&sc->aac_container_lock); error = copyout((caddr_t)&query_disk, uptr, |