summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-09-13 13:31:54 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-16 01:59:25 +0200
commitdeb4207e2f4d1cab2f59318e22e70964ab1f42a4 (patch)
tree3b3600c21d12c8b5345dac832842beab0d801258
parent9b1f22d5318181a9d8a1ed2b0351f783baf3cd42 (diff)
another small change in style for consistency
* device/dev_name.c: Change in coding style.
-rw-r--r--device/dev_name.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/dev_name.c b/device/dev_name.c
index bf541df4..f970cf68 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -167,7 +167,7 @@ boolean_t dev_name_lookup(name, ops, unit)
*unit *= j;
/* find slice ? */
- if (c=='s') {
+ if (c == 's') {
cp++;
while ((c = *cp) != '\0' &&
c >= '0' && c <= '9') {
@@ -176,7 +176,7 @@ boolean_t dev_name_lookup(name, ops, unit)
}
}
- *unit += (slice_num <<4);
+ *unit += (slice_num << 4);
/* if slice==0, it is either compatability or whole device */
if (c >= 'a' && c < 'a' + j) { /* note: w/o this -> whole slice */