summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/mconsole_kern.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-26 19:13:19 +0200
committerJeff Garzik <jeff@garzik.org>2006-09-26 19:13:19 +0200
commitc226951b93f7cd7c3a10b17384535b617bd43fd0 (patch)
tree07b8796a5c99fbbf587b8d0dbcbc173cfe5e381e /arch/um/drivers/mconsole_kern.c
parentMerge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linv... (diff)
parent[PATCH] s390: fix cmm kernel thread handling (diff)
downloadlinux-c226951b93f7cd7c3a10b17384535b617bd43fd0.tar.xz
linux-c226951b93f7cd7c3a10b17384535b617bd43fd0.zip
Merge branch 'master' into upstream
Diffstat (limited to 'arch/um/drivers/mconsole_kern.c')
-rw-r--r--arch/um/drivers/mconsole_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c
index b414522f7686..79610b5ce67e 100644
--- a/arch/um/drivers/mconsole_kern.c
+++ b/arch/um/drivers/mconsole_kern.c
@@ -497,7 +497,7 @@ static void mconsole_get_config(int (*get_config)(char *, char *, int,
}
error = NULL;
- size = sizeof(default_buf)/sizeof(default_buf[0]);
+ size = ARRAY_SIZE(default_buf);
buf = default_buf;
while(1){