make_options
if ((r = make_options(device, userid, &opts)) != 0)
if ((r = make_options(device, NULL, &opts)) != 0)