summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-01-26 04:38:23 +0000
committerguenther <guenther@openbsd.org>2015-01-26 04:38:23 +0000
commit1ad32c60f8cd3a641755c16a49ac85e49c575385 (patch)
tree017f9b16188f29fd39f97d589baebdb38c22daca
parentUpdate the Samsung SSD controller comment. (diff)
downloadwireguard-openbsd-1ad32c60f8cd3a641755c16a49ac85e49c575385.tar.xz
wireguard-openbsd-1ad32c60f8cd3a641755c16a49ac85e49c575385.zip
Oops: symlinkat()'s 'atfd' argument is its second, not its first
-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 },
};