diff options
author | Sage Weil <sage@newdream.net> | 2010-07-08 10:47:16 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-07-08 16:49:53 -0700 |
commit | d06dbaf6c2c7187938f3f6745d9e4938a2d0ec47 (patch) | |
tree | 472cfd72bcc15d7a7323a58a8698bab6ec7f33f1 /fs/ceph/ioctl.h | |
parent | b0bbb0be8f7fbf6d366b359e034c78a96c4e274d (diff) | |
download | op-kernel-dev-d06dbaf6c2c7187938f3f6745d9e4938a2d0ec47.zip op-kernel-dev-d06dbaf6c2c7187938f3f6745d9e4938a2d0ec47.tar.gz |
ceph: fix printing of ipv6 addrs
The buffer was too small. Make it bigger, use snprintf(), put brackets
around the ipv6 address to avoid mixing it up with the :port, and use the
ever-so-handy %pI[46] formats.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/ioctl.h')
0 files changed, 0 insertions, 0 deletions