]> git.ozlabs.org Git - yaboot.git/blobdiff - lib/vsprintf.c
Merge ability to have per machine type config entries from ubuntu/silo.
[yaboot.git] / lib / vsprintf.c
index fd9ad7b8f32610e876e20de8065d19b13b6a0dd4..47a7dcce362d12ea04dd6ecf4e32b99e5c132764 100644 (file)
@@ -222,7 +222,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
                        *str++ = *fmt;
                        continue;
                }
-                       
+
                /* process flags */
                flags = 0;
                repeat:
@@ -234,7 +234,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
                                case '#': flags |= SPECIAL; goto repeat;
                                case '0': flags |= ZEROPAD; goto repeat;
                                }
-               
+
                /* get field width */
                field_width = -1;
                if (isdigit(*fmt))
@@ -252,7 +252,7 @@ int vsprintf(char *buf, const char *fmt, va_list args)
                /* get the precision */
                precision = -1;
                if (*fmt == '.') {
-                       ++fmt;  
+                       ++fmt;
                        if (isdigit(*fmt))
                                precision = skip_atoi(&fmt);
                        else if (*fmt == '*') {