Subversion Repositories Kolibri OS

Rev

Rev 1869 | Rev 4292 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1869 Rev 1870
Line 101... Line 101...
101
 
101
 
Line 102... Line 102...
102
 
102
 
103
int printf(const char* format, ...)
103
int printf(const char* format, ...)
104
{
104
{
105
    char  txtbuf[256];
105
    char  txtbuf[1024];
Line 106... Line 106...
106
    int   len = 0;
106
    int   len = 0;
Line 107... Line 107...
107
 
107
 
108
    va_list ap;
108
    va_list ap;
109
 
109
 
110
    va_start(ap, format);
110
    va_start(ap, format);
Line 111... Line 111...
111
    if (format)
111
    if (format)
112
        len = vsnprintf(txtbuf, 256, format, ap);
112
        len = vsnprintf(txtbuf, 1024, format, ap);
Line 120... Line 120...
120
 
120
 
Line 121... Line 121...
121
 
121
 
122
int dbgprintf(const char* format, ...)
122
int dbgprintf(const char* format, ...)
123
{
123
{
124
    char      txtbuf[256];
124
    char      txtbuf[1024];
125
    unsigned  writes;
125
    unsigned  writes;
Line 126... Line 126...
126
    int       len = 0;
126
    int       len = 0;
Line 127... Line 127...
127
 
127
 
128
    va_list   ap;
128
    va_list   ap;
129
 
129
 
130
    va_start(ap, format);
130
    va_start(ap, format);
Line 131... Line 131...
131
    if (format)
131
    if (format)
132
      len = vsnprintf(txtbuf, 256, format, ap);
132
      len = vsnprintf(txtbuf, 1024, format, ap);
133
    va_end(ap);
133
    va_end(ap);
Line 148... Line 148...
148
}
148
}
149
 
149
 
Line 150... Line 150...
150
int xf86DrvMsg(int skip, int code, const char* format, ...)
150
int xf86DrvMsg(int skip, int code, const char* format, ...)
151
{
151
{
152
    char      txtbuf[256];
152
    char      txtbuf[1024];
153
    unsigned  writes;
153
    unsigned  writes;
154
    va_list   ap;
154
    va_list   ap;
Line 155... Line 155...
155
 
155
 
Line 156... Line 156...
156
    int       len = 0;
156
    int       len = 0;
157
 
157
 
158
    va_start(ap, format);
158
    va_start(ap, format);
159
    if (format)
159
    if (format)
Line 160... Line 160...
160
        len = vsnprintf(txtbuf, 256, format, ap);
160
        len = vsnprintf(txtbuf, 1024, format, ap);
161
    va_end(ap);
161
    va_end(ap);
162
 
162