[PATCH] Fix some trivial typos.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I noticed that there were some minor spelling mistakes/typos in some
of the source files. This patch fixes the ones I've found.
---
 auth/addr/src/addr.c                          |    6 +++---
 xlators/protocol/client/src/client-protocol.h |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/auth/addr/src/addr.c b/auth/addr/src/addr.c
index 5c293be..3bd893d 100644
--- a/auth/addr/src/addr.c
+++ b/auth/addr/src/addr.c
@@ -30,7 +30,7 @@
 #include "dict.h"
 
 #define ADDR_DELIMITER " ,"
-#define PRIVILAGED_PORT_CIELING 1024
+#define PRIVILEGED_PORT_CEILING 1024
 
 #ifndef AF_INET_SDP
 #define AF_INET_SDP 27
@@ -111,9 +111,9 @@ gf_auth (dict_t *input_params, dict_t *config_params)
 	}
 
 	peer_port = atoi (service);
-	if (peer_port >= PRIVILAGED_PORT_CIELING) {
+	if (peer_port >= PRIVILEGED_PORT_CEILING) {
 	  gf_log ("auth/addr", GF_LOG_ERROR,
-		  "client is bound to port %d which is not privilaged", 
+		  "client is bound to port %d which is not privileged",
 		  peer_port);
 	  return AUTH_DONT_CARE;
 	}
diff --git a/xlators/protocol/client/src/client-protocol.h b/xlators/protocol/client/src/client-protocol.h
index 1cbb22e..50fa5e9 100644
--- a/xlators/protocol/client/src/client-protocol.h
+++ b/xlators/protocol/client/src/client-protocol.h
@@ -32,7 +32,7 @@
 #include "byte-order.h"
 
 #define CLIENT_PROTO_FORGET_LIMIT  128
-#define CLIENT_PORT_CIELING        1023
+#define CLIENT_PORT_CEILING        1023
 
 #define GF_CLIENT_INODE_SELF   0
 #define GF_CLIENT_INODE_PARENT 1
-- 
1.6.0.5





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux