pkgman: fix build.
This commit is contained in:
@@ -201,7 +201,7 @@ PackageManager::ProgressPackageDownloadActive(const char* packageName,
|
|||||||
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0
|
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winSize) == 0
|
||||||
&& winSize.ws_col < 77) {
|
&& winSize.ws_col < 77) {
|
||||||
// We need 7 characters for the percent display
|
// We need 7 characters for the percent display
|
||||||
width = windowSize.ws_col - 7;
|
width = winSize.ws_col - 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
int position;
|
int position;
|
||||||
|
|||||||
Reference in New Issue
Block a user