source3: Update all consumers of strtoul_err(), strtoull_err() to new API
[amitay/samba.git] / source3 / utils / net_rpc_registry.c
index 84936ee31aea4dce29cb310d70be534498443ec9..e47bad4e33f8f953ea84429a4992d2b2216d9f96 100644 (file)
@@ -606,7 +606,7 @@ static NTSTATUS rpc_registry_setvalue_internal(struct net_context *c,
                int error = 0;
                uint32_t v;
 
-               v = strtoul_err(argv[3], NULL, 10, &error);
+               v = smb_strtoul(argv[3], NULL, 10, &error, SMB_STR_STANDARD);
                if (error != 0) {
                        goto error;
                }