diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-22 15:40:05 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2014-03-22 15:40:05 +0000 |
commit | 51fd81273ada8ae78cd83cb8f262f3e4ccfaa3f3 (patch) | |
tree | 531007a962ffcaf8dea9a5af21af7fb7e9770bbc | |
parent | f7b5d9c7f8d2ac74029aeb097b780f3db9e205b7 (diff) |
warn() -> warnx() when errno is irrelevant.
-rw-r--r-- | sbin/fdisk/part.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/fdisk/part.c b/sbin/fdisk/part.c index 0330fa7bb82..51209914dee 100644 --- a/sbin/fdisk/part.c +++ b/sbin/fdisk/part.c @@ -1,4 +1,4 @@ -/* $OpenBSD: part.c,v 1.61 2014/03/20 13:43:32 krw Exp $ */ +/* $OpenBSD: part.c,v 1.62 2014/03/22 15:40:04 krw Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -324,7 +324,7 @@ PRT_fix_BN(struct disk *disk, struct prt *part, int pn) /* XXX - Should handle this... */ if (start > end) - warn("Start of partition #%d after end!", pn); + warnx("Start of partition #%d after end!", pn); part->bs = start; part->ns = (end - start) + 1; |