diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-21 16:22:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-21 16:22:24 +0000 |
commit | 2312ac3ea2f660dcdaf9897fd1f4a2fc23055eb5 (patch) | |
tree | 6f50740b5243be9d4cbb57481796bfab75602d67 | |
parent | 81bf262cce2981c90ccec7a148519a54d9f78bda (diff) |
fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentina
-rw-r--r-- | lib/libutil/readlabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/readlabel.c b/lib/libutil/readlabel.c index b94c677c9c1..6eef5825815 100644 --- a/lib/libutil/readlabel.c +++ b/lib/libutil/readlabel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readlabel.c,v 1.6 2002/02/21 07:32:55 fgsch Exp $ */ +/* $OpenBSD: readlabel.c,v 1.7 2002/02/21 16:22:23 deraadt Exp $ */ /* * Copyright (c) 1996, Jason Downs. All rights reserved. @@ -74,7 +74,7 @@ char *readlabelfs(device, verbose) rpath[strlen(rpath) - 1] = 'a' + getrawpartition(); break; case S_IFBLK: - if (strlen(device) > sizeo(_PATH_DEV) - 1) { + if (strlen(device) > sizeof(_PATH_DEV) - 1) { snprintf(rpath, sizeof(rpath), "%sr%s", _PATH_DEV, &device[sizeof(_PATH_DEV) - 1]); |