1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.1 2005/01/12 23:22:30 kristerw Exp $
--- cmain.c.orig Thu Jan 13 00:14:12 2005
+++ cmain.c Thu Jan 13 00:15:41 2005
@@ -49,13 +49,13 @@
#define ERR (strerrorwrap(errno))
#endif
-#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\
+#define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\
(void)strcat(fbuf, (s));}
#define ADDERR(s) (void)strcat(fbuf, (s));
-#define ERROR {(void)strcat(fbuf, "\n");\
+#define ERROR {(void)strcat(fbuf, "\n");\
(void)write(2, fbuf, strlen(fbuf)); exit(1);}
-#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\
- (void)strcat(fbuf, ": (warning) ");\
+#define INITWARN(s) {(void)strcpy(fbuf, cmdname);\
+ (void)strcat(fbuf, ": (warning) ");\
(void)strcat(fbuf, (s));}
#define ADDWARN(s) (void)strcat(fbuf, (s));
#define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));}
|