summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/blocks.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-04-01 12:18:20 +0000
committerobrien <obrien@FreeBSD.org>2001-04-01 12:18:20 +0000
commitbe7c1d12489eca9263a2127dedf1cdfeb2ad8b93 (patch)
treea48d82e5adc3563378b2bd88d4318266ec48cd3e /lib/libdisk/blocks.c
parent51dae2254ac1cd5dc67d293758322c96c592a731 (diff)
downloadFreeBSD-src-be7c1d12489eca9263a2127dedf1cdfeb2ad8b93.zip
FreeBSD-src-be7c1d12489eca9263a2127dedf1cdfeb2ad8b93.tar.gz
Add spaces around operators.
It's OK, the Project and afford them now -- they aren't as expensive as they used to be.
Diffstat (limited to 'lib/libdisk/blocks.c')
-rw-r--r--lib/libdisk/blocks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libdisk/blocks.c b/lib/libdisk/blocks.c
index 28e6a5f..38e2846 100644
--- a/lib/libdisk/blocks.c
+++ b/lib/libdisk/blocks.c
@@ -22,11 +22,11 @@ read_block(int fd, daddr_t block)
foo = malloc(512);
if (!foo)
- barfout(1,"malloc");
+ barfout(1, "malloc");
if (-1 == lseek(fd, (off_t)block * 512, SEEK_SET))
barfout(1, "lseek");
- if (512 != read(fd,foo, 512))
- barfout(1,"read");
+ if (512 != read(fd, foo, 512))
+ barfout(1, "read");
return foo;
}
@@ -36,5 +36,5 @@ write_block(int fd, daddr_t block, void *foo)
if (-1 == lseek(fd, (off_t)block * 512, SEEK_SET))
barfout(1, "lseek");
if (512 != write(fd,foo, 512))
- barfout(1,"write");
+ barfout(1, "write");
}
OpenPOWER on IntegriCloud