diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-02 22:57:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 22:57:09 +0800 |
commit | 33e28fb96ba885767bf9033a50cb7a0cdb9514cc (patch) | |
tree | aec0bffd36acaa80dc38bd383f562b9a08965c44 /cli-session.c | |
parent | ea984cfb953fbc75f4287cbce7d5d988c6ccbe37 (diff) | |
parent | 100cbc5f3f41bebc03bf6838569845863c4c6649 (diff) |
Merge pull request #31 from bengardner/PATH_DEVNULL
Use DROPBEAR_PATH_DEVNULL instead of undefined _PATH_DEVNULL
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-session.c b/cli-session.c index d89416f..d8525ae 100644 --- a/cli-session.c +++ b/cli-session.c @@ -287,7 +287,7 @@ static void cli_sessionloop() { int devnull; /* keeping stdin open steals input from the terminal and is confusing, though stdout/stderr could be useful. */ - devnull = open(_PATH_DEVNULL, O_RDONLY); + devnull = open(DROPBEAR_PATH_DEVNULL, O_RDONLY); if (devnull < 0) { dropbear_exit("Opening /dev/null: %d %s", errno, strerror(errno)); |