diff options
author | Jim Meyering <meyering@redhat.com> | 2008-07-15 12:51:25 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-24 15:04:41 +0200 |
commit | f4af35cec5be4d0e4fe0d6888d35c4ea179d44f9 (patch) | |
tree | e0d90ac75fa0a2edb1d0ad3b1cc6d9ec2c052b59 /po | |
parent | 3bb13560631718860b5ecc26384698b6e7367224 (diff) | |
download | parted-f4af35cec5be4d0e4fe0d6888d35c4ea179d44f9.tar.gz |
fix >512-byte sector label/disk-test failure
* libparted/tests/disk.c: Include xstrtol.h.
(get_sector_size): New function: get sector size from the environment.
(create_disk): Use the new function to calculate a usable size,
rather than hard-coding the 512-byte-sector-specific size of 20MB.
* libparted/tests/common.c (_create_disk): Change meaning (and name)
of parameter to be size in bytes, not MiB.
Adjust callers.
* po/POTFILES.in: Add lib/xstrtol-error.c.
Diffstat (limited to 'po')
-rw-r--r-- | po/POTFILES.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index 8b2a9e2..33f4979 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,5 +1,5 @@ # libparted -# Copyright (C) 1999-2001, 2006-2007, 2009 Free Software Foundation, Inc. +# Copyright (C) 1999-2001, 2006-2009 Free Software Foundation, Inc. # This file may be modified and/or copied without restriction. # list of files containing translatable strings |