diff options
author | Chris Rees | 2011-01-24 17:03:36 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-01-24 17:04:59 +0100 |
commit | e3c127d846eb2febbdb86bcf6c0c92622ab98eea (patch) | |
tree | c3d4458c20e13cce49bf049efee798de650eadab /libbb | |
parent | 271c0ce379be4b59d28e17f4774f5a078e77f64b (diff) | |
download | busybox-e3c127d846eb2febbdb86bcf6c0c92622ab98eea.zip busybox-e3c127d846eb2febbdb86bcf6c0c92622ab98eea.tar.gz |
FreeBSD compat
Signed-off-by: Chris Rees <utisoft@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/getpty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/getpty.c b/libbb/getpty.c index ea653b0..6a15cff 100644 --- a/libbb/getpty.c +++ b/libbb/getpty.c @@ -19,7 +19,7 @@ int FAST_FUNC xgetpty(char *line) if (p > 0) { grantpt(p); /* chmod+chown corresponding slave pty */ unlockpt(p); /* (what does this do?) */ -#if 0 /* if ptsname_r is not available... */ +#ifndef HAVE_PTSNAME_R const char *name; name = ptsname(p); /* find out the name of slave pty */ if (!name) { |