diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-03-14 02:33:23 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-03-14 03:12:25 +0100 |
commit | 46824d0e6b2aae8f503464368d02c1da992f56f1 (patch) | |
tree | d2f8c2e9a379b372f6c6fb4dd8b13d89f6b4d42a /src/util.h | |
parent | 3eb4d9a214a09883e50ce557b36c7903406d7ef8 (diff) |
util: properly identify pty devices by their major
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index 13e5f6203a..320bcd7c3d 100644 --- a/src/util.h +++ b/src/util.h @@ -337,7 +337,7 @@ int getttyname_malloc(int fd, char **r); int getttyname_harder(int fd, char **r); int get_ctty_devnr(dev_t *d); -int get_ctty(char **r); +int get_ctty(char **r, dev_t *_devnr); int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid); |