diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 00:41:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-03-31 00:41:22 +0000 |
commit | a3fdd6d98f3bec1c692f6c8d398eec1c6a72d166 (patch) | |
tree | 68ebee88cc37966f423229ba25fa4bb266af47c7 /lib/libc | |
parent | e3cbc82253dae49fa547776f94b27ed9cbc76aaf (diff) |
after we changed mode_t to be an int, the devname() man page was
updated but the function itself never was; ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/devname.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/gen/devname.c b/lib/libc/gen/devname.c index 6c2e08e18b8..36c5eb694a5 100644 --- a/lib/libc/gen/devname.c +++ b/lib/libc/gen/devname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: devname.c,v 1.6 2005/08/08 08:05:33 espie Exp $ */ +/* $OpenBSD: devname.c,v 1.7 2006/03/31 00:41:20 deraadt Exp $ */ /* * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. @@ -40,9 +40,8 @@ #include <stdlib.h> char * -devname(int dev, int t) +devname(int dev, mode_t type) { - mode_t type = t; struct { mode_t type; dev_t dev; |