diff options
author | Chris Rees <utisoft@gmail.com> | 2011-01-24 17:03:36 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-01-24 17:04:59 +0100 |
commit | e3c127d846eb2febbdb86bcf6c0c92622ab98eea (patch) | |
tree | c3d4458c20e13cce49bf049efee798de650eadab /libbb | |
parent | 271c0ce379be4b59d28e17f4774f5a078e77f64b (diff) | |
download | busybox-w32-e3c127d846eb2febbdb86bcf6c0c92622ab98eea.tar.gz busybox-w32-e3c127d846eb2febbdb86bcf6c0c92622ab98eea.tar.bz2 busybox-w32-e3c127d846eb2febbdb86bcf6c0c92622ab98eea.zip |
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 ea653b0b6..6a15cff2f 100644 --- a/libbb/getpty.c +++ b/libbb/getpty.c | |||
@@ -19,7 +19,7 @@ int FAST_FUNC xgetpty(char *line) | |||
19 | if (p > 0) { | 19 | if (p > 0) { |
20 | grantpt(p); /* chmod+chown corresponding slave pty */ | 20 | grantpt(p); /* chmod+chown corresponding slave pty */ |
21 | unlockpt(p); /* (what does this do?) */ | 21 | unlockpt(p); /* (what does this do?) */ |
22 | #if 0 /* if ptsname_r is not available... */ | 22 | #ifndef HAVE_PTSNAME_R |
23 | const char *name; | 23 | const char *name; |
24 | name = ptsname(p); /* find out the name of slave pty */ | 24 | name = ptsname(p); /* find out the name of slave pty */ |
25 | if (!name) { | 25 | if (!name) { |