conf.c (731682d81d6004ade5d139920d1186cdccaa5418) | conf.c (80148899834a4078a2bd348504aa2d6de9752837) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 107 unchanged lines hidden (view full) --- 116 /* 117 * If debug is not enabled, skip a debug message; 118 * lead with the program name for an error message, 119 * and follow with a filename and line number if an 120 * error occurs while parsing a conf file. 121 */ 122 if (code == MDEBUG) 123 return; | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 107 unchanged lines hidden (view full) --- 116 /* 117 * If debug is not enabled, skip a debug message; 118 * lead with the program name for an error message, 119 * and follow with a filename and line number if an 120 * error occurs while parsing a conf file. 121 */ 122 if (code == MDEBUG) 123 return; |
124 fprintf(stderr, "%s: ", prog); | 124 (void) fprintf(stderr, "%s: ", prog); |
125 if (lineno) | 125 if (lineno) |
126 fprintf(stderr, "\"%s\" line %d, ", power_conf, lineno); | 126 (void) fprintf(stderr, 127 "\"%s\" line %d, ", power_conf, lineno); |
127 } 128 129 va_start(vargs, fmt); 130 (void) vfprintf(stderr, gettext(fmt), vargs); 131 va_end(vargs); 132 133 if (code == MEXIT) { 134 cleanup(); --- 426 unchanged lines hidden --- | 128 } 129 130 va_start(vargs, fmt); 131 (void) vfprintf(stderr, gettext(fmt), vargs); 132 va_end(vargs); 133 134 if (code == MEXIT) { 135 cleanup(); --- 426 unchanged lines hidden --- |