diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-06-13 11:28:38 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-06-13 11:28:38 +0200 |
commit | a7a3f52bf768546f5f57bfded6d9a60749593162 (patch) | |
tree | b72d12bfa84503a278d03ff10eef7a4e5bcfd6c6 /qmanifest.c | |
parent | quse: improve per package USE-flag output somewhat (diff) | |
download | portage-utils-a7a3f52bf768546f5f57bfded6d9a60749593162.tar.gz portage-utils-a7a3f52bf768546f5f57bfded6d9a60749593162.tar.bz2 portage-utils-a7a3f52bf768546f5f57bfded6d9a60749593162.zip |
main/qmanifest: fix compilation on Linux
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qmanifest.c')
-rw-r--r-- | qmanifest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qmanifest.c b/qmanifest.c index d7f90b8f..7ca2b403 100644 --- a/qmanifest.c +++ b/qmanifest.c @@ -25,10 +25,10 @@ #include <dirent.h> #include <time.h> #include <errno.h> +#include <termios.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> -#include <sys/ioctl.h> #include <openssl/sha.h> #include <openssl/whrlpool.h> #include <blake2.h> @@ -1498,7 +1498,7 @@ verify_timestamp(const char *ts) } static void -format_line(const char *pfx, const char *msg, int twidth) +format_line(const char *pfx, const char *msg) { size_t msglen = strlen(pfx) + strlen(msg); @@ -1644,11 +1644,11 @@ process_dir_vrfy(void) msgline = msg; while ((msgline = strchr(msgline, '\n')) != NULL) { *msgline++ = '\0'; - format_line(pfx, msg, twidth); + format_line(pfx, msg); pfx = " "; msg = msgline; } - format_line(pfx, msg, twidth); + format_line(pfx, msg); } } |