summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenis Vlasenko2008-09-27 14:03:25 +0000
committerDenis Vlasenko2008-09-27 14:03:25 +0000
commitd6855d1b5043089fc606f7e62679babb68c7cbb4 (patch)
tree8004722cf1b409fc4d988086dad179577db8c4fa /miscutils
parentbed22a01fb19de6e4b4c2c7d8c5953bc7aa2580e (diff)
downloadbusybox-d6855d1b5043089fc606f7e62679babb68c7cbb4.zip
busybox-d6855d1b5043089fc606f7e62679babb68c7cbb4.tar.gz
style fixes, no code changes
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/hdparm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index b75da16..5c1f6d5 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -1759,7 +1759,7 @@ static void process_dev(char *devname)
}
}
if (get_unmask) {
- if(!ioctl_or_warn(fd, HDIO_GET_UNMASKINTR, &parm))
+ if (!ioctl_or_warn(fd, HDIO_GET_UNMASKINTR, &parm))
print_value_on_off("unmaskirq", parm);
}
@@ -1777,25 +1777,25 @@ static void process_dev(char *devname)
#endif
#ifdef HDIO_GET_QDMA
if (get_dma_q) {
- if(!ioctl_or_warn(fd, HDIO_GET_QDMA, &parm))
+ if (!ioctl_or_warn(fd, HDIO_GET_QDMA, &parm))
print_value_on_off("queue_depth", parm);
}
#endif
if (get_keep) {
- if(!ioctl_or_warn(fd, HDIO_GET_KEEPSETTINGS, &parm))
+ if (!ioctl_or_warn(fd, HDIO_GET_KEEPSETTINGS, &parm))
print_value_on_off("keepsettings", parm);
}
if (get_nowerr) {
- if(!ioctl_or_warn(fd, HDIO_GET_NOWERR, &parm))
+ if (!ioctl_or_warn(fd, HDIO_GET_NOWERR, &parm))
print_value_on_off("nowerr", parm);
}
if (get_readonly) {
- if(!ioctl_or_warn(fd, BLKROGET, &parm))
+ if (!ioctl_or_warn(fd, BLKROGET, &parm))
print_value_on_off("readonly", parm);
}
if (get_readahead) {
- if(!ioctl_or_warn(fd, BLKRAGET, &parm))
+ if (!ioctl_or_warn(fd, BLKRAGET, &parm))
print_value_on_off("readahead", parm);
}
if (get_geom) {