summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-07-14 19:05:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-07-14 19:05:12 +0000
commita50f293cc23c707f9d8c5f406c88e6b3ef0c23f3 (patch)
treeab495eceb7d583231539f4908bbc3a1cc09dd072 /include/stdlib.h
parentae6322daac87801badbc3fa9e9d0bbb1ab37bee3 (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.h4
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 *