The same bug in the upstream github bugtracker [1]. Upstream already has commits with the fix [2], [3].
[1] https://github.com/baruch/gpart/issues/9 [2] https://github.com/baruch/gpart/commit/0529a52485411be351bb75d628edc187a53c0e40 [3] https://github.com/baruch/gpart/commit/cbdefb633797ccfbc86ec4c6268292f20621d20f Regads, Aleksey