Browse Source

The first argument to devname(3) should be dev_t, not int.

The man page was already correct.
OPENBSD_5_8
millert 9 years ago
parent
commit
8fc6c5c63a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/include/stdlib.h

+ 2
- 2
src/include/stdlib.h View File

@ -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 *


Loading…
Cancel
Save