From 893d09ec7a16736aeaa94a25318906bf201e0228 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 21 Feb 2002 16:22:23 +0000 Subject: [PATCH] fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentina --- src/lib/libutil/readlabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/libutil/readlabel.c b/src/lib/libutil/readlabel.c index b94c677c..6eef5825 100644 --- a/src/lib/libutil/readlabel.c +++ b/src/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]);