Browse Source

use correct formatters for s/size_t data types.

ok deraadt@
OPENBSD_5_7
bcook 9 years ago
parent
commit
948680b913
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/usr.sbin/ntpd/ntp_msg.c

+ 2
- 2
src/usr.sbin/ntpd/ntp_msg.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: ntp_msg.c,v 1.20 2015/01/09 07:35:37 deraadt Exp $ */
/* $OpenBSD: ntp_msg.c,v 1.21 2015/02/10 06:01:01 bcook Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@ -62,7 +62,7 @@ ntp_sendmsg(int fd, struct sockaddr *sa, struct ntp_msg *msg)
}
if (n != sizeof(*msg)) {
log_warnx("ntp_sendmsg: only %ld of %ld bytes sent", n,
log_warnx("ntp_sendmsg: only %zd of %zu bytes sent", n,
sizeof(*msg));
return (-1);
}


Loading…
Cancel
Save