From e19572e4cc0b8df95ebf60053029e454592a92d4 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Mon, 12 Jun 2017 20:16:28 -0700 Subject: OpenZFS 5428 - provide fts(), reallocarray(), and strtonum() Authored by: Yuri Pankov Reviewed by: Robert Mustacchi Approved by: Joshua M. Clulow Reviewed-by: Giuseppe Di Natale Reviewed-by: George Melikov Ported-by: Brian Behlendorf Porting Notes: * All hunks unrelated to ZFS were dropped. OpenZFS-issue: https://www.illumos.org/issues/5428 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/4585130 Closes #6326 --- module/zfs/dsl_userhold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/zfs/dsl_userhold.c') diff --git a/module/zfs/dsl_userhold.c b/module/zfs/dsl_userhold.c index a6d1aa937..583fbfe47 100644 --- a/module/zfs/dsl_userhold.c +++ b/module/zfs/dsl_userhold.c @@ -342,7 +342,7 @@ static int dsl_dataset_hold_obj_string(dsl_pool_t *dp, const char *dsobj, void *tag, dsl_dataset_t **dsp) { - return (dsl_dataset_hold_obj(dp, strtonum(dsobj, NULL), tag, dsp)); + return (dsl_dataset_hold_obj(dp, zfs_strtonum(dsobj, NULL), tag, dsp)); } static int -- cgit v1.2.3