[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnumach] 27/56: another small change in style for consistency
From: |
Samuel Thibault |
Subject: |
[gnumach] 27/56: another small change in style for consistency |
Date: |
Sat, 28 Sep 2013 12:43:15 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch master
in repository gnumach.
commit deb4207e2f4d1cab2f59318e22e70964ab1f42a4
Author: Marin Ramesa <address@hidden>
Date: Fri Sep 13 13:31:54 2013 +0200
another small change in style for consistency
* device/dev_name.c: Change in coding style.
---
device/dev_name.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/device/dev_name.c b/device/dev_name.c
index bf541df..f970cf6 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 */
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/gnumach.git
- [gnumach] 15/56: Drop luna88k bits, (continued)
- [gnumach] 15/56: Drop luna88k bits, Samuel Thibault, 2013/09/28
- [gnumach] 35/56: remove lint code, Samuel Thibault, 2013/09/28
- [gnumach] 12/56: ipc: organize ipc print function prototypes, Samuel Thibault, 2013/09/28
- [gnumach] 37/56: device: remove unused file dk_label.c, Samuel Thibault, 2013/09/28
- [gnumach] 32/56: Coding style trivial fixes, Samuel Thibault, 2013/09/28
- [gnumach] 17/56: Add const qualifiers., Samuel Thibault, 2013/09/28
- [gnumach] 36/56: add comments after endifs, Samuel Thibault, 2013/09/28
- [gnumach] 34/56: remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 33/56: remove lint code, Samuel Thibault, 2013/09/28
- [gnumach] 30/56: another small change in style for consistency, Samuel Thibault, 2013/09/28
- [gnumach] 27/56: another small change in style for consistency,
Samuel Thibault <=
- [gnumach] 25/56: remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 22/56: remove register qualifiers., Samuel Thibault, 2013/09/28
- [gnumach] 28/56: remove preprocessor comments, Samuel Thibault, 2013/09/28
- [gnumach] 23/56: remove register qualifiers, Samuel Thibault, 2013/09/28
- [gnumach] 26/56: small style changes for consistency, Samuel Thibault, 2013/09/28
- [gnumach] 20/56: track the console buffer usage with a boolean instead of an int, Samuel Thibault, 2013/09/28
- [gnumach] 21/56: track the console init with a boolean instead of an int, Samuel Thibault, 2013/09/28
- [gnumach] 54/56: * patches/80_missing_files.patch: Add missing files from git., Samuel Thibault, 2013/09/28
- [gnumach] 50/56: Imported Upstream version 1.4, Samuel Thibault, 2013/09/28