Author: jilles
Date: Wed Sep 19 19:22:24 2012
New Revision: 240705
URL: http://svn.freebsd.org/changeset/base/240705

Log:
  strsignal(): Reindent.

Modified:
  head/lib/libc/string/strsignal.c

Modified: head/lib/libc/string/strsignal.c
==============================================================================
--- head/lib/libc/string/strsignal.c    Wed Sep 19 19:21:22 2012        
(r240704)
+++ head/lib/libc/string/strsignal.c    Wed Sep 19 19:22:24 2012        
(r240705)
@@ -121,27 +121,27 @@ strsignal(int num)
 #endif
                        sizeof(sig_ebuf));
 
-       signum = num;
-       if (num < 0)
-               signum = -signum;
+               signum = num;
+               if (num < 0)
+                       signum = -signum;
 
-       t = tmp;
-       do {
-               *t++ = "0123456789"[signum % 10];
-       } while (signum /= 10);
-       if (num < 0)
-               *t++ = '-';
+               t = tmp;
+               do {
+                       *t++ = "0123456789"[signum % 10];
+               } while (signum /= 10);
+               if (num < 0)
+                       *t++ = '-';
 
-       p = (ebuf + n);
-       *p++ = ':';
-       *p++ = ' ';
+               p = (ebuf + n);
+               *p++ = ':';
+               *p++ = ' ';
 
-       for (;;) {
-               *p++ = *--t;
-               if (t <= tmp)
-                       break;
-       }
-       *p = '\0';
+               for (;;) {
+                       *p++ = *--t;
+                       if (t <= tmp)
+                               break;
+               }
+               *p = '\0';
        }
 
 #if defined(NLS)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to