summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-06 10:27:12 +0000
committerJay Freeman <saurik@saurik.com>2008-04-06 10:27:12 +0000
commit8a49e427447f40fdd43fc4b5f513b166dd639e2a (patch)
tree423daaac4bd7c946b3472ca2975c29b3ea2ec340
parentc98fb2fcc444dbc6c202b43de2ac7029e962f2f6 (diff)
Drastically increased dmesg buffer size.
git-svn-id: http://svn.telesphoreo.org/trunk@198 514c082c-b64e-11dc-b46d-3d985efe055d
-rw-r--r--data/system-cmds/dmesg.diff11
1 files changed, 9 insertions, 2 deletions
diff --git a/data/system-cmds/dmesg.diff b/data/system-cmds/dmesg.diff
index 6c549c1ed..fb15d0de1 100644
--- a/data/system-cmds/dmesg.diff
+++ b/data/system-cmds/dmesg.diff
@@ -1,6 +1,6 @@
diff -ru system_cmds-431/dmesg.tproj/dmesg.c system_cmds-431+iPhone/dmesg.tproj/dmesg.c
--- system_cmds-431/dmesg.tproj/dmesg.c 2006-05-05 04:12:18.000000000 +0000
-+++ system_cmds-431+iPhone/dmesg.tproj/dmesg.c 2008-02-27 23:48:08.000000000 +0000
++++ system_cmds-431+iPhone/dmesg.tproj/dmesg.c 2008-03-24 00:58:43.000000000 +0000
@@ -57,7 +57,6 @@
#include <stdio.h>
#include <stdlib.h>
@@ -9,7 +9,14 @@ diff -ru system_cmds-431/dmesg.tproj/dmesg.c system_cmds-431+iPhone/dmesg.tproj/
void
usage() {
-@@ -73,7 +72,7 @@
+@@ -67,13 +66,13 @@
+
+ int
+ main(int argc, char **argv) {
+- char msgbuf[16*1024], *visbuf;
++ char msgbuf[64*4*1024], *visbuf;
+ long data_size;
+
if (argc > 1)
usage();