Skip to content

Commit 8511a9e

Browse files
committed
ch: Fixup formatting, correct return value
1 parent 4797cbd commit 8511a9e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ch/ch_process.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,9 @@ chProcessNetworkPrepareDevices(virCHDriverPtr driver, virDomainObjPtr vm)
629629

630630
return 0;
631631

632-
cleanup:
633-
g_free(tapfd);
634-
return 0;
632+
cleanup:
633+
g_free(tapfd);
634+
return -1;
635635
}
636636

637637

0 commit comments

Comments
 (0)