diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-07-30 23:08:42 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-31 13:11:32 -0700 |
commit | acb06b282a64b2751d33424e4e833c0c7dcf87d7 (patch) | |
tree | 676d7d33ac33a34242d9db836669eb7627144937 /transport/socket | |
parent | b63f69cdf40ef5bd79abdcd641b3dcc4bcb3cb1a (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/socket')
-rw-r--r-- | transport/socket/src/name.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/transport/socket/src/name.c b/transport/socket/src/name.c index bb41c1cd0..83a97ed04 100644 --- a/transport/socket/src/name.c +++ b/transport/socket/src/name.c @@ -415,7 +415,7 @@ client_bind (transport_t *this, ret = af_inet_bind_to_port_lt_ceiling (sock, sockaddr, *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)); ret = 0; |