summaryrefslogtreecommitdiffhomepage
path: root/scpmisc.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2017-06-14 23:31:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2017-06-14 23:31:42 +0800
commit88ce30beb62716b000289d255deca50006880633 (patch)
treea15e89f770e72a4eef240e776082018ce5579594 /scpmisc.c
parent723ec19eedd2618cd850e703519fd8432c67e44c (diff)
parentd260d5148e2eec62e7af8d6ec86dae438e4a0ec9 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'scpmisc.c')
-rw-r--r--scpmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scpmisc.c b/scpmisc.c
index d99e358..33e1891 100644
--- a/scpmisc.c
+++ b/scpmisc.c
@@ -235,7 +235,7 @@ sanitise_stdfd(void)
{
int nullfd, dupfd;
- if ((nullfd = dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
+ if ((nullfd = dupfd = open(DROPBEAR_PATH_DEVNULL, O_RDWR)) == -1) {
fprintf(stderr, "Couldn't open /dev/null: %s", strerror(errno));
exit(1);
}