diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 12:13:01 +0300 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-03-19 12:13:01 +0300 |
commit | cad5364599eb5062d59e0c397ed638ddd61a8d5d (patch) | |
tree | a318d0f03aa076c74b576ea45dc543a5669e8e91 /libbb/read_package_field.c | |
parent | e01f9662a5bd5d91be4f6b3941b57fff73cd5af1 (diff) |
Major coreutils update.
Diffstat (limited to 'libbb/read_package_field.c')
-rw-r--r-- | libbb/read_package_field.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/read_package_field.c b/libbb/read_package_field.c index 867b198ba..42628f35c 100644 --- a/libbb/read_package_field.c +++ b/libbb/read_package_field.c @@ -102,10 +102,10 @@ int read_package_field(const char *package_buffer, char **field_name, char **fie if (name_length == 0) { *field_name = NULL; } else { - *field_name = xstrndup(&package_buffer[offset_name_start], name_length); + *field_name = bb_xstrndup(&package_buffer[offset_name_start], name_length); } if (value_length > 0) { - *field_value = xstrndup(&package_buffer[offset_value_start], value_length); + *field_value = bb_xstrndup(&package_buffer[offset_value_start], value_length); } else { *field_value = NULL; } |