mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-12 11:54:45 +00:00
coverity: #1425735
use correct inequality comparison Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
6b9be52337
commit
97ebced3e5
@ -1388,7 +1388,7 @@ again:
|
||||
ret = snprintf(offset, 5, "-%d", idx);
|
||||
if (ret < 0 || (size_t)ret >= 5) {
|
||||
FILE *f = fopen("/dev/null", "w");
|
||||
if (f >= 0) {
|
||||
if (f) {
|
||||
fprintf(f, "Workaround for GCC7 bug: "
|
||||
"https://gcc.gnu.org/bugzilla/"
|
||||
"show_bug.cgi?id=78969");
|
||||
|
Loading…
Reference in New Issue
Block a user