lib/strutils: use directly err()
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
ccbeabfa05
commit
1aa0f1abf4
1 changed files with 1 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ static int test_strdup_to_member(int argc, char *argv[])
|
|||
|
||||
xx = calloc(1, sizeof(*xx));
|
||||
if (!xx)
|
||||
err_oom();
|
||||
err(EXIT_FAILURE, "calloc() failed");
|
||||
|
||||
strdup_to_struct_member(xx, name, argv[1]);
|
||||
strdup_to_struct_member(xx, value, argv[2]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue