Changeset 933 for trunk/cli_output.c


Ignore:
Timestamp:
03/13/10 18:28:29 (2 years ago)
Author:
uwe
Message:

Various coding style and cosmetic changes (trivial).

  • Fix coding-style, whitespace, and indentation in a few places.
  • Consistently use the same spelling ("Super I/O") everywhere.
  • Make some flashrom stdout output look a bit nicer.


Signed-off-by: Uwe Hermann <uwe@…>
Acked-by: Uwe Hermann <uwe@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli_output.c

    r836 r933  
    2828        int ret; 
    2929        FILE *output_type; 
    30          
    31         switch (type) 
    32         { 
     30 
     31        switch (type) { 
    3332        case MSG_ERROR: 
    3433                output_type = stderr; 
    3534                break; 
    3635        case MSG_BARF: 
    37                 if (verbose < 2) return 0; 
     36                if (verbose < 2) 
     37                        return 0; 
    3838        case MSG_DEBUG: 
    39                 if (verbose < 1) return 0; 
     39                if (verbose < 1) 
     40                        return 0; 
    4041        case MSG_INFO: 
    4142        default: 
     
    4344                break; 
    4445        } 
    45          
     46 
    4647        va_start(ap, fmt); 
    4748        ret = vfprintf(output_type, fmt, ap); 
     
    4950        return ret; 
    5051} 
    51  
Note: See TracChangeset for help on using the changeset viewer.