wmbattery: fix format-specifier.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
This commit is contained in:
parent
67e3ecd074
commit
8cefc3925d
|
@ -173,7 +173,7 @@ static int upower_read_work(int battery, apm_info *info)
|
||||||
goto fail_close0;
|
goto fail_close0;
|
||||||
}
|
}
|
||||||
else if (cv != sizeof(*info)) {
|
else if (cv != sizeof(*info)) {
|
||||||
fprintf(stderr, "recv: unexpected size %d", cv);
|
fprintf(stderr, "recv: unexpected size %zd", cv);
|
||||||
goto fail_close0;
|
goto fail_close0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue