svn commit: r230599 - head/lib/libutil

Guy Helmer ghelmer at FreeBSD.org
Thu Jan 26 20:33:09 UTC 2012


Author: ghelmer
Date: Thu Jan 26 20:33:08 2012
New Revision: 230599
URL: http://svn.freebsd.org/changeset/base/230599

Log:
  Restore the parenthesis that are necessary around the constant values.
  
  Requested by bde.

Modified:
  head/lib/libutil/libutil.h

Modified: head/lib/libutil/libutil.h
==============================================================================
--- head/lib/libutil/libutil.h	Thu Jan 26 20:02:40 2012	(r230598)
+++ head/lib/libutil/libutil.h	Thu Jan 26 20:33:08 2012	(r230599)
@@ -233,12 +233,12 @@ __END_DECLS
 /* Return values from uu_lock(). */
 #define	UU_LOCK_INUSE		1
 #define	UU_LOCK_OK		0
-#define	UU_LOCK_OPEN_ERR	-1
-#define	UU_LOCK_READ_ERR	-2
-#define	UU_LOCK_CREAT_ERR	-3
-#define	UU_LOCK_WRITE_ERR	-4
-#define	UU_LOCK_LINK_ERR	-5
-#define	UU_LOCK_TRY_ERR		-6
-#define	UU_LOCK_OWNER_ERR	-7
+#define	UU_LOCK_OPEN_ERR	(-1)
+#define	UU_LOCK_READ_ERR	(-2)
+#define	UU_LOCK_CREAT_ERR	(-3)
+#define	UU_LOCK_WRITE_ERR	(-4)
+#define	UU_LOCK_LINK_ERR	(-5)
+#define	UU_LOCK_TRY_ERR		(-6)
+#define	UU_LOCK_OWNER_ERR	(-7)
 
 #endif /* !_LIBUTIL_H_ */


More information about the svn-src-all mailing list