diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-02-22 09:46:06 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-02-22 09:46:06 +0000 |
commit | 3d8bdff7395e1f6a7554bd5ff7cdfb001cfeb16d (patch) | |
tree | cf0609c81759114f2cbded56c3b9590632feeb5d /usr.sbin/rpki-client/mkdir.c | |
parent | a6be92ba55be1c2cb0e49046c26bc67a14e86119 (diff) |
Rename mkpath() to mkpathat() since it uses mkdirat() internally.
Diffstat (limited to 'usr.sbin/rpki-client/mkdir.c')
-rw-r--r-- | usr.sbin/rpki-client/mkdir.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/mkdir.c b/usr.sbin/rpki-client/mkdir.c index 7369c3de4c5..e9a349feef6 100644 --- a/usr.sbin/rpki-client/mkdir.c +++ b/usr.sbin/rpki-client/mkdir.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkdir.c,v 1.2 2021/02/19 08:14:49 claudio Exp $ */ +/* $OpenBSD: mkdir.c,v 1.3 2021/02/22 09:46:05 claudio Exp $ */ /* * Copyright (c) 1983, 1992, 1993 @@ -37,13 +37,14 @@ #include "extern.h" /* - * mkpath -- create directories. + * mkpathat -- create directories. + * dirfd - file descriptor for local directory * path - path * mode - file mode of terminal directory * dir_mode - file mode of intermediate directories */ int -mkpath(int dirfd, const char *dir) +mkpathat(int dirfd, const char *dir) { char *path, *slash; int done; |