recvjob.c (15648) | recvjob.c (15703) |
---|---|
1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 328 unchanged lines hidden (view full) --- 337#if __STDC__ 338frecverr(const char *msg, ...) 339#else 340frecverr(msg, va_alist) 341 char *msg; 342 va_dcl 343#endif 344{ | 1/* 2 * Copyright (c) 1983, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 328 unchanged lines hidden (view full) --- 337#if __STDC__ 338frecverr(const char *msg, ...) 339#else 340frecverr(msg, va_alist) 341 char *msg; 342 va_dcl 343#endif 344{ |
345 extern char fromb[]; | |
346 va_list ap; 347#if __STDC__ 348 va_start(ap, msg); 349#else 350 va_start(ap); 351#endif 352 rcleanup(0); 353 syslog(LOG_ERR, "%s", fromb); 354 vsyslog(LOG_ERR, msg, ap); 355 va_end(ap); 356 putchar('\1'); /* return error code */ 357 exit(1); 358} | 345 va_list ap; 346#if __STDC__ 347 va_start(ap, msg); 348#else 349 va_start(ap); 350#endif 351 rcleanup(0); 352 syslog(LOG_ERR, "%s", fromb); 353 vsyslog(LOG_ERR, msg, ap); 354 va_end(ap); 355 putchar('\1'); /* return error code */ 356 exit(1); 357} |