Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 20:33:08 +0000 (UTC)
From:      Guy Helmer <ghelmer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230599 - head/lib/libutil
Message-ID:  <201201262033.q0QKX8eh005198@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201262033.q0QKX8eh005198>