commit-hurd
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]