diff options
author | pjd <pjd@FreeBSD.org> | 2010-06-14 21:46:48 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-06-14 21:46:48 +0000 |
commit | 30cb3140ef8bb72d244132e3c05ba28af5d0bc31 (patch) | |
tree | 77dbb8c10d06d726ff15517ded7a851c40516db4 /sbin | |
parent | 235822ad576945a155dd67b34cdb638456c3319e (diff) | |
download | FreeBSD-src-30cb3140ef8bb72d244132e3c05ba28af5d0bc31.zip FreeBSD-src-30cb3140ef8bb72d244132e3c05ba28af5d0bc31.tar.gz |
Correct various log messages.
Submitted by: Mikolaj Golub <to.my.trociny@gmail.com>
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/hastd.c | 4 | ||||
-rw-r--r-- | sbin/hastd/secondary.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/hastd/hastd.c b/sbin/hastd/hastd.c index bc0521b..1d9d1b4 100644 --- a/sbin/hastd/hastd.c +++ b/sbin/hastd/hastd.c @@ -200,7 +200,7 @@ listen_accept(void) proto_local_address(conn, laddr, sizeof(laddr)); proto_remote_address(conn, raddr, sizeof(raddr)); - pjdlog_info("Connection from %s to %s.", laddr, raddr); + pjdlog_info("Connection from %s to %s.", raddr, laddr); /* Error in setting timeout is not critical, but why should it fail? */ if (proto_timeout(conn, HAST_TIMEOUT) < 0) @@ -286,7 +286,7 @@ listen_accept(void) if (token != NULL && memcmp(token, res->hr_token, sizeof(res->hr_token)) != 0) { pjdlog_error("Token received from %s doesn't match.", raddr); - nv_add_stringf(nverr, "errmsg", "Toke doesn't match."); + nv_add_stringf(nverr, "errmsg", "Token doesn't match."); goto fail; } /* diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c index 4e1efb4..b487e9d 100644 --- a/sbin/hastd/secondary.c +++ b/sbin/hastd/secondary.c @@ -688,7 +688,7 @@ send_thread(void *arg) pjdlog_exit(EX_TEMPFAIL, "Unable to send reply."); } nv_free(nvout); - pjdlog_debug(2, "disk: (%p) Moving request to the free queue.", + pjdlog_debug(2, "send: (%p) Moving request to the free queue.", hio); nv_free(hio->hio_nv); hio->hio_error = 0; |