summaryrefslogtreecommitdiffstats
path: root/transport/ib-verbs
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-07-30 23:08:42 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-31 13:11:32 -0700
commitacb06b282a64b2751d33424e4e833c0c7dcf87d7 (patch)
tree676d7d33ac33a34242d9db836669eb7627144937 /transport/ib-verbs
parentb63f69cdf40ef5bd79abdcd641b3dcc4bcb3cb1a (diff)
client-protocol: log messages at WARNING loglevel when client_bind on privileged port fails.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 140 (use appropriate loglevel to log in case of failure to bind to privileged socket) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=140
Diffstat (limited to 'transport/ib-verbs')
-rw-r--r--transport/ib-verbs/src/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/transport/ib-verbs/src/name.c b/transport/ib-verbs/src/name.c
index 31ce5291d70..c9d6e51d8d5 100644
--- a/transport/ib-verbs/src/name.c
+++ b/transport/ib-verbs/src/name.c
@@ -418,7 +418,7 @@ client_bind (transport_t *this,
*sockaddr_len,
CLIENT_PORT_CEILING);
if (ret == -1) {
- gf_log (this->xl->name, GF_LOG_ERROR,
+ gf_log (this->xl->name, GF_LOG_WARNING,
"cannot bind inet socket (%d) to port "
"less than %d (%s)",
sock, CLIENT_PORT_CEILING, strerror (errno));