summaryrefslogtreecommitdiff
path: root/sbin/fdisk/disk.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-19 23:30:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-19 23:30:49 +0000
commita4aec24569cc5745d75f4cb79a819f21a52ab837 (patch)
tree042776d834aabe23d642c145ecdfe8699914196a /sbin/fdisk/disk.c
parentb1cde0eec4935fd55bc897a58a62e6051bfad4b5 (diff)
indent
Diffstat (limited to 'sbin/fdisk/disk.c')
-rw-r--r--sbin/fdisk/disk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/fdisk/disk.c b/sbin/fdisk/disk.c
index 7c3a9b2b962..ff68ca73d8f 100644
--- a/sbin/fdisk/disk.c
+++ b/sbin/fdisk/disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disk.c,v 1.5 1997/10/19 23:29:36 deraadt Exp $ */
+/* $OpenBSD: disk.c,v 1.6 1997/10/19 23:30:46 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -63,7 +63,7 @@ DISK_open(disk, mode)
err(1, "%s", disk);
if (!S_ISCHR(st.st_mode) && !S_ISREG(st.st_mode))
err(1, "%s is not a character device or a regular file", disk);
- return(fd);
+ return (fd);
}
int
@@ -71,7 +71,7 @@ DISK_close(fd)
int fd;
{
- return(close(fd));
+ return (close(fd));
}
/* Routine to go after the disklabel for geometry
@@ -104,7 +104,7 @@ DISK_getlabelmetrics(name)
DISK_close(fd);
}
- return(lm);
+ return (lm);
}
#ifdef CPU_BIOS
@@ -149,7 +149,7 @@ DISK_getbiosmetrics(name)
bm->sectors = BIOSNSECTS(biosgeo);
bm->size = BIOSNTRACKS(biosgeo) * BIOSNHEADS(biosgeo) *
BIOSNSECTS(biosgeo);
- return(bm);
+ return (bm);
}
#else
/*
@@ -160,7 +160,7 @@ DISK_metrics *
DISK_getbiosmetrics(name)
char *name;
{
- return(NULL);
+ return (NULL);
}
#endif
@@ -223,6 +223,6 @@ DISK_printmetrics(disk)
else
printf("geometry: <none>\n");
- return(0);
+ return (0);
}