summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2012-02-04 19:55:27 +0100
committerDenys Vlasenko2012-02-04 19:55:27 +0100
commitf99811908419608e3ab81393d0177cc456101e4b (patch)
tree11793447075d012f20bcd4bb1a8291d86f94520a /util-linux
parent1e98f3741c5a844c1d3d7966f20cd09dded05d0d (diff)
downloadbusybox-1_19_4.zip
busybox-1_19_4.tar.gz
Apply post-1.19.3 patches, bump version to 1.19.41_19_4
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c
index 7cabb1d..e0a527e 100644
--- a/util-linux/mdev.c
+++ b/util-linux/mdev.c
@@ -610,7 +610,7 @@ int mdev_main(int argc UNUSED_PARAM, char **argv)
int seqlen;
char seqbuf[sizeof(int)*3 + 2];
- seqlen = open_read_close("mdev.seq", seqbuf, sizeof(seqbuf-1));
+ seqlen = open_read_close("mdev.seq", seqbuf, sizeof(seqbuf) - 1);
if (seqlen < 0) {
seq = NULL;
break;