Lines Matching defs:error
77 int count, error, idx;
95 error = setpath(*what + idx, val);
96 if (error)
97 return (error);
110 int error;
121 * Return an error if this is not possible.
127 error = 0;
129 while (!error && *tag != '\0') {
132 error = EINVAL;
138 error = EINVAL;
144 error = setpath(&inst_kernel, val);
146 error = setmultipath(&inst_modules, val);
148 error = setpath(&inst_rootfs, val);
153 return (error);
191 int error, fd, i, local;
245 error = pkgfs_init(buf, proto);
246 if (error) {
263 error = read_metatags(fd);
265 if (error) {
272 error = mod_loadkld(s, 0, NULL);
273 if (error) {
280 error = mod_loadkld(inst_modules[i], 0, NULL);
281 if (error) {
290 error = errno;
300 error = CMD_ERROR;
304 sprintf(buf, "%s (error %d)", command_errmsg, error);