summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-01-26 04:38:24 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-01-26 04:38:24 +0000
commit70b20ffd839d8da4561c9af7ae2d37bd5d804b0b (patch)
tree48136f435aefa1dca1a1e4310f5ed32d90bcf9c6 /usr.bin
parent76b43cb0d4d4f1ef18f246ca182d869172a91b3e (diff)
Oops: symlinkat()'s 'atfd' argument is its second, not its first
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/kdump/kdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index 4b33a924b73..dacd82b8e98 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kdump.c,v 1.97 2015/01/16 06:40:09 deraadt Exp $ */
+/* $OpenBSD: kdump.c,v 1.98 2015/01/26 04:38:23 guenther Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -871,7 +871,7 @@ static const formatter scargs[][8] = {
[SYS_openat] = { Atfd, Ppath, PASS_TWO, Flagsandmodename },
[SYS_readlinkat] = { Atfd, Ppath, Pptr, Psize },
[SYS_renameat] = { Atfd, Ppath, Atfd, Ppath },
- [SYS_symlinkat] = { Atfd, Ppath, Ppath },
+ [SYS_symlinkat] = { Ppath, Atfd, Ppath },
[SYS_unlinkat] = { Atfd, Ppath, Atflagsname },
[SYS___set_tcb] = { Pptr },
};