diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-07-14 19:05:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-07-14 19:05:12 +0000 |
commit | a50f293cc23c707f9d8c5f406c88e6b3ef0c23f3 (patch) | |
tree | ab495eceb7d583231539f4908bbc3a1cc09dd072 /include/stdlib.h | |
parent | ae6322daac87801badbc3fa9e9d0bbb1ab37bee3 (diff) |
The first argument to devname(3) should be dev_t, not int.
The man page was already correct.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 13f2c7acf6d..ba4f32c9ea1 100644 --- a/include/stdlib.h +++ b/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 * |