Commit Graph

8 Commits

Author SHA1 Message Date
riz
16a0235c60 Use strtoll() when converting a 64-bit quantity. This makes "gpt add"
work with an offset of more than 2147483647 sectors.  While I'm here,
use strtoul() when converting an unsigned quantity.
2007-02-16 17:13:02 +00:00
christos
1665d5e960 fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
he
565d8259e3 Add initialization of a variable where gcc for some archs thinks
that it may be used un-initialized.  From cursory inspection it is
not obvious that gcc is wrong.
2006-10-17 21:14:03 +00:00
wiz
1a2477c1ae Serial comma. Add RCS Id. Remove superfluous quotes. 2006-10-17 09:32:34 +00:00
he
a738248ed5 Some of our ports want <sys/param.h> in order to have DEV_BSIZE defined,
needed for LABELSECTOR expansion.
2006-10-17 09:20:09 +00:00
christos
9052088997 add casts 2006-10-15 22:43:30 +00:00
christos
9b52236568 Make this work under NetBSD. 2006-10-15 22:36:29 +00:00
christos
5819a8c09d Import the gpt tool from FreeBSD 2006-10-15 22:34:15 +00:00