]> Savannah Git Hosting - gnulib.git/commitdiff
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 1d5233a187547db5c86b0005f7ef3e274408afa3..fe3c52a8c798fd49901da05b1bfd289da9039a1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index 3ea701e32fdc23d1d637f14e77577e321915ecbc..8cd6a41e5d412df7c0f59c44a85ed9bd39bcfcf5 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);