]> diplodocus.org Git - nmh/blobdiff - sbr/lock_file.c
mhshow/test-charset: Use octal, not hex, in printf(1) format string.
[nmh] / sbr / lock_file.c
index 426cddfc8442695d933cdbb4808f03a0ab9be990..2c8b1c7531ae9ea286de318e1bd52c88d119c894 100644 (file)
@@ -576,7 +576,7 @@ lockit (struct lockinfo *li)
     fd = link(tmpfile, curlock);
     (void) m_unlink(tmpfile);
 
     fd = link(tmpfile, curlock);
     (void) m_unlink(tmpfile);
 
-    return (fd == -1 ? -1 : 0);
+    return fd == -1 ? -1 : 0;
 }
 #endif /* HAVE_LIBLOCKFILE */
 
 }
 #endif /* HAVE_LIBLOCKFILE */