diff options
-rw-r--r-- | util-linux/mdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mdev.c b/util-linux/mdev.c index e5f0c2d..9765688 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -783,7 +783,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; |