posix_openpt test: Coding style.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Oct 2011 14:52:47 +0000 (16:52 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 20 Oct 2011 14:52:47 +0000 (16:52 +0200)
* tests/test-posix_openpt.c: Use GNU coding style.

ChangeLog
tests/test-posix_openpt.c

index 1d5233a..fe3c52a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-10-20  Bruno Haible  <bruno@clisp.org>
 
+       posix_openpt test: Coding style.
+       * tests/test-posix_openpt.c: Use GNU coding style.
+
+2011-10-20  Bruno Haible  <bruno@clisp.org>
+
        grantpt: Support --avoid=pt_chown.
        * modules/grantpt (Files): Add lib/pty-private.h.
 
index 3ea701e..8cd6a41 100644 (file)
@@ -42,7 +42,7 @@ main (void)
   char *name;
 
   /* Open the master of a pseudo-terminal pair.  */
-  master = posix_openpt(O_RDWR | O_NOCTTY);
+  master = posix_openpt (O_RDWR | O_NOCTTY);
   if (master < 0 && errno == ENOSYS)
     {
       fputs ("skipping: platform lacks pty support\n", stderr);