diff options
author | Daniel Mack <github@zonque.org> | 2015-09-10 19:01:25 +0200 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-09-10 19:01:25 +0200 |
commit | 786c5bf957f8f7b78c7a0999908ff822e712b53e (patch) | |
tree | d330ac099c5d75669ab5d8d21e880bc29521add8 /src/systemctl | |
parent | 15af581253a3f25a71d4fa723bf1fdd22f842728 (diff) | |
parent | e11d45682ed0ccdbdfe71a958718c836114a4610 (diff) |
Merge pull request #1242 from poettering/no-off_t
Drop usage of off_t
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 40b366c7a5..5aa4e07d57 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -4625,7 +4625,7 @@ static int cat_file(const char *filename, bool newline) { ansi_highlight_off()); fflush(stdout); - return copy_bytes(fd, STDOUT_FILENO, (off_t) -1, false); + return copy_bytes(fd, STDOUT_FILENO, (uint64_t) -1, false); } static int cat(sd_bus *bus, char **args) { |