chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
man: mention docker as type of virtualization
[elogind.git]
/
src
/
shared
/
util.c
diff --git
a/src/shared/util.c
b/src/shared/util.c
index 30b0364b64cb7e0edf3d7803a7322ac0d758fdb7..bbd9bd11d6515205fd59d3d5f4120e6a099e335e 100644
(file)
--- a/
src/shared/util.c
+++ b/
src/shared/util.c
@@
-3273,7
+3273,7
@@
unsigned columns(void) {
c = 0;
e = getenv("COLUMNS");
if (e)
- safe_atoi(e, &c);
+
(void)
safe_atoi(e, &c);
if (c <= 0)
c = fd_columns(STDOUT_FILENO);
@@
-3307,7
+3307,7
@@
unsigned lines(void) {
l = 0;
e = getenv("LINES");
if (e)
- safe_atou(e, &l);
+
(void)
safe_atou(e, &l);
if (l <= 0)
l = fd_lines(STDOUT_FILENO);