From 8fc6c5c63aa70641e9dbf1e0433d50f088a6a8ae Mon Sep 17 00:00:00 2001 From: millert <> Date: Tue, 14 Jul 2015 19:05:11 +0000 Subject: [PATCH] The first argument to devname(3) should be dev_t, not int. The man page was already correct. --- src/include/stdlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 13f2c7ac..ba4f32c9 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.64 2015/02/08 02:58:50 tedu Exp $ */ +/* $OpenBSD: stdlib.h,v 1.65 2015/07/14 19:05:11 millert Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -283,7 +283,7 @@ int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int); -char *devname(int, mode_t); +char *devname(dev_t, mode_t); int getloadavg(double [], int); const char *