| Anonymous | Login | Signup for a new account | 11-10-2008 11:06 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001033 | [BusyBox] Other | crash | always | 09-19-06 04:35 | 09-20-06 08:38 | ||||
| Reporter | shc | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | svn | ||||||
| Summary | 0001033: Compile Error if USE_SYSLOG undefined | ||||||||
| Description |
Compile error if USE_SYSLOG undefined. Error message is: /opt/soft/develop/busybox/loginutils/getty.c: In function 'getty_main': /opt/soft/develop/busybox/loginutils/getty.c:825: warning: implicit declaration of function 'openlog' /opt/soft/develop/busybox/loginutils/getty.c:825: error: 'LOG_PID' undeclared (first use in this function) /opt/soft/develop/busybox/loginutils/getty.c:825: error: (Each undeclared identifier is reported only once /opt/soft/develop/busybox/loginutils/getty.c:825: error: for each function it appears in.) /opt/soft/develop/busybox/loginutils/getty.c:825: error: 'LOG_AUTH' undeclared (first use in this function) make[1]: *** [/opt/soft/develop/busybox/loginutils/getty.o] Error 1 Patch is inlined in additional info field: |
||||||||
| Additional Information |
--- getty.c (revision 16145) +++ getty.c (working copy) @@ -822,7 +822,9 @@ dup2(nullfd, 2); if(nullfd > 2) close(nullfd); +#ifdef CONFIG_SYSLOGD openlog(bb_applet_name, LOG_PID, LOG_AUTH); +#endif logmode = LOGMODE_BOTH; #ifdef DEBUGGING |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |