summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>2004-04-04 19:38:08 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>2004-04-04 19:38:08 +0000
commit09126709ec15786e27ebd2684c4f3b858dc3604e (patch)
tree4fbe21bc5f4e191ff9234bb70bfa87e256ceed02
parentfdf1bad4e0c6e160937c7feba1301690cd194161 (diff)
Notes
-rw-r--r--usr.sbin/raycontrol/raycontrol.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/raycontrol/raycontrol.c b/usr.sbin/raycontrol/raycontrol.c
index 2ff684cab3ed..006fedabbb45 100644
--- a/usr.sbin/raycontrol/raycontrol.c
+++ b/usr.sbin/raycontrol/raycontrol.c
@@ -28,12 +28,12 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
-#include <sys/types.h>
#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
+#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
@@ -77,7 +77,7 @@ ray_printhex(u_int8_t *d, char *s, int len)
int i;
if (2 * len + strlen(s) * (len - 1) > sizeof(buf) - 1)
- err(1, "Byte string too long");
+ errx(1, "byte string too long");
sprintf(buf, "%02x", *d);
for (p = buf + 2, i = 1; i < len; i++)