libbb/getpty.c: In function ‘getpty’:
libbb/getpty.c:43: error: ‘DEBUG’ undeclared (first use in this function)
libbb/getpty.c:43: error: (Each undeclared identifier is reported only once
libbb/getpty.c:43: error: for each function it appears in.)
make[1]: *** [libbb/getpty.o] Fehler 1




--- libbb/getpty.c.org  2008-03-04 18:31:08.000000000 +0100
+++ libbb/getpty.c      2008-03-04 18:31:26.000000000 +0100
@@ -40,7 +40,7 @@
                }
                for (j = 0; j < 16; j++) {
                        line[9] = j < 10 ? j + '0' : j - 10 + 'a';
-                       if (DEBUG)
+                       if (CONFIG_DEBUG)
                                fprintf(stderr, "Trying to open device: %s\n", 
line);
                        p = open(line, O_RDWR | O_NOCTTY);
                        if (p >= 0) {
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to