Lines Matching defs:error
80 * a tty or returns error on retry (no data) if standard input is not a tty.
87 int error, err2;
95 error = smbfs_ctx_alloc(&ctx);
96 if (error)
101 error = smbfs_ctx_parsedomuser(tmp_arg, &dom, &usr);
102 if (error)
106 error = smbfs_ctx_setdomain(ctx, dom, TRUE);
107 if (error)
113 error = smbfs_ctx_setuser(ctx, usr, TRUE);
114 if (error)
119 error = smbfs_ctx_parseunc(ctx, share_unc,
121 if (error)
131 error = errno;
136 error = smbfs_ctx_resolve(ctx);
137 if (error)
141 error = smbfs_ctx_get_ssn(ctx);
142 if (error == EBADE) {
144 error = smbfs_ctx_get_ssn(ctx);
147 if (error == EAUTH) {
153 if (error) {
155 error, ctx->ct_fullserver);
159 error = smbfs_ctx_get_tree(ctx);
160 if (error) {
162 error, ctx->ct_fullserver, ctx->ct_origshare);
169 error = smbfs_print_file(ctx, titlebuf, file);
178 return (error);
204 int error = 0;
217 error = errno;
218 smbfs_error("error reading input file\n", error);
226 error = errno;
227 smbfs_error("error writing spool file\n", error);
232 error = EIO;
239 return (error);