Changeset 2648 for trunk/src/kash/error.c
- Timestamp:
- Sep 9, 2012, 5:22:30 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/error.c
r2298 r2648 138 138 } 139 139 if (sv_errno >= 0) 140 outfmt(&psh->errout, "%s", s trerror(sv_errno));140 outfmt(&psh->errout, "%s", sh_strerror(psh, sv_errno)); 141 141 out2c(psh, '\n'); 142 142 flushout(&psh->errout); … … 156 156 #ifdef DEBUG 157 157 if (msg) { 158 va_list va2; 158 159 TRACE((psh, "exverror(%d, \"", cond)); 159 TRACEV((psh, msg, ap)); 160 va_copy(va2, ap); 161 TRACEV((psh, msg, va2)); 162 va_end(va2); 160 163 TRACE((psh, "\") pid=%d\n", sh_getpid(psh))); 161 164 } else
Note:
See TracChangeset
for help on using the changeset viewer.