]> git.ipfire.org Git - thirdparty/util-linux.git/log
thirdparty/util-linux.git
14 years agofsck: use same word category in message, and add translators comment
Benno Schulenberg [Sun, 31 Jul 2011 19:27:58 +0000 (21:27 +0200)] 
fsck: use same word category in message, and add translators comment

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agotextual: add some guiding comments for translators
Benno Schulenberg [Sat, 30 Jul 2011 19:28:07 +0000 (21:28 +0200)] 
textual: add some guiding comments for translators

These are picked up by xgettext and put in the POT file.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agopo: also extract plural messages from the C files
Benno Schulenberg [Sat, 30 Jul 2011 19:27:16 +0000 (21:27 +0200)] 
po: also extract plural messages from the C files

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agouuidd: distinguish between singular and plural in three messages
Benno Schulenberg [Sat, 30 Jul 2011 17:21:52 +0000 (19:21 +0200)] 
uuidd: distinguish between singular and plural in three messages

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agoinclude: [nls.h] define a macro for handling plurals with ngettext()
Benno Schulenberg [Sat, 30 Jul 2011 17:20:58 +0000 (19:20 +0200)] 
include: [nls.h] define a macro for handling plurals with ngettext()

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agowipefs: gettextize one sentence as a whole
Benno Schulenberg [Sat, 30 Jul 2011 15:17:26 +0000 (17:17 +0200)] 
wipefs: gettextize one sentence as a whole

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agofstrim: correct mistaken grammar in one message
Benno Schulenberg [Sat, 30 Jul 2011 15:16:09 +0000 (17:16 +0200)] 
fstrim: correct mistaken grammar in one message

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agolsblk: correct mistaken word
Benno Schulenberg [Sat, 30 Jul 2011 15:13:27 +0000 (17:13 +0200)] 
lsblk: correct mistaken word

Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agopartx: switch on localization
Benno Schulenberg [Sat, 30 Jul 2011 13:35:16 +0000 (15:35 +0200)] 
partx: switch on localization

Reported-by: Petr Písař <petr.pisar@atlas.cz>
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
14 years agomkswap: Use c.h
maximilian attems [Sun, 31 Jul 2011 10:47:21 +0000 (12:47 +0200)] 
mkswap: Use c.h

Fixes mkswap compilation against klibc.

Signed-off-by: maximilian attems <max@stro.at>
14 years agoinclude: [c.h] Include stdlib.h unconditionaly
maximilian attems [Sun, 31 Jul 2011 10:47:20 +0000 (12:47 +0200)] 
include: [c.h] Include stdlib.h unconditionaly

No point in hiding it down in an ifdef maze,
as it may get used by exit(3).

Signed-off-by: maximilian attems <max@stro.at>
14 years agoinclude: [c.h] move up declaration of program_invocation_short_name before usage
maximilian attems [Sun, 31 Jul 2011 10:47:19 +0000 (12:47 +0200)] 
include: [c.h] move up declaration of program_invocation_short_name before usage

fixes:
../include/c.h: In function ‘errmsg’:
../include/c.h:111:26: error: ‘program_invocation_short_name’ undeclared
(first use in this function)
../include/c.h:111:26: note: each undeclared identifier is reported only
once for each function it appears in

Signed-off-by: maximilian attems <max@stro.at>
14 years agopg: fix compiler warnings [-Wunused-result]
Karel Zak [Tue, 2 Aug 2011 11:55:30 +0000 (13:55 +0200)] 
pg: fix compiler warnings [-Wunused-result]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude: [writeall] add fwrite_all()
Karel Zak [Tue, 2 Aug 2011 11:53:41 +0000 (13:53 +0200)] 
include: [writeall] add fwrite_all()

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:29:29 +0000 (13:29 +0200)] 
libblkid: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:28:04 +0000 (13:28 +0200)] 
libblkid: [superblocks] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [partitions] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:22:30 +0000 (13:22 +0200)] 
libblkid: [partitions] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: [topology] fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 11:20:54 +0000 (13:20 +0200)] 
libblkid: [topology] fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude: [bitops.h] make return values consistent
Karel Zak [Tue, 2 Aug 2011 10:30:57 +0000 (12:30 +0200)] 
include: [bitops.h] make return values consistent

The *_to_cpu() and cpu_to_*() macros have to return always the same date types
independently on CPU type.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibmount: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Tue, 2 Aug 2011 09:21:16 +0000 (11:21 +0200)] 
libmount: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochrt: [selinux] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:23:53 +0000 (16:23 +0200)] 
chrt: [selinux] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochsh: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:20:28 +0000 (16:20 +0200)] 
chsh: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agochfn: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 14:19:54 +0000 (16:19 +0200)] 
chfn: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolast: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:39:55 +0000 (15:39 +0200)] 
last: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agologin: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:36:17 +0000 (15:36 +0200)] 
login: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocfdisk: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 13:21:17 +0000 (15:21 +0200)] 
cfdisk: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofdisk: fix compiler warnings [-Wunused-parameter -Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 13:19:53 +0000 (15:19 +0200)] 
fdisk: fix compiler warnings [-Wunused-parameter -Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotests: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 12:57:05 +0000 (14:57 +0200)] 
tests: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoswaplabel: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 12:54:45 +0000 (14:54 +0200)] 
swaplabel: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomkfs.minix: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 12:51:58 +0000 (14:51 +0200)] 
mkfs.minix: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofsck.minix: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 12:38:42 +0000 (14:38 +0200)] 
fsck.minix: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoswapon: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:40:41 +0000 (13:40 +0200)] 
swapon: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomount: fix compiler warnings [-Wsign-compare -Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 11:33:04 +0000 (13:33 +0200)] 
mount: fix compiler warnings [-Wsign-compare -Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoionice: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:17:54 +0000 (13:17 +0200)] 
ionice: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agosetarch: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:16:21 +0000 (13:16 +0200)] 
setarch: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotunelp: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:14:21 +0000 (13:14 +0200)] 
tunelp: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocytune: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:12:30 +0000 (13:12 +0200)] 
cytune: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoreadprofile: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:07:32 +0000 (13:07 +0200)] 
readprofile: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolscpu: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:03:19 +0000 (13:03 +0200)] 
lscpu: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoipcs: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:02:45 +0000 (13:02 +0200)] 
ipcs: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodmesg: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 11:01:31 +0000 (13:01 +0200)] 
dmesg: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoblkid: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 10:48:55 +0000 (12:48 +0200)] 
blkid: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agokill: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:46:25 +0000 (12:46 +0200)] 
kill: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agofindmnt: fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 10:44:20 +0000 (12:44 +0200)] 
findmnt: fix compiler warnings [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolsblk: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:40:03 +0000 (12:40 +0200)] 
lsblk: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agouuidd: fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:32:18 +0000 (12:32 +0200)] 
uuidd: fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [cpuset.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:24:22 +0000 (12:24 +0200)] 
lib: [cpuset.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [mangle.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:18:22 +0000 (12:18 +0200)] 
lib: [mangle.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [tt.c] clean up used types
Karel Zak [Mon, 1 Aug 2011 10:16:00 +0000 (12:16 +0200)] 
lib: [tt.c] clean up used types

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [strutils.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 10:01:04 +0000 (12:01 +0200)] 
lib: [strutils.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [sysfs.c] fix compiler warnings [-Wsign-compare]
Karel Zak [Mon, 1 Aug 2011 09:59:48 +0000 (11:59 +0200)] 
lib: [sysfs.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolib: [at.c] fix compiler warnings [-Wunused-parameter]
Karel Zak [Mon, 1 Aug 2011 09:55:11 +0000 (11:55 +0200)] 
lib: [at.c] fix compiler warnings [-Wunused-parameter]

at.c: In function ‘fstat_at’:
at.c:14:35: warning: unused parameter ‘dirname’ [-Wunused-parameter]
at.c: In function ‘open_at’:
at.c:36:34: warning: unused parameter ‘dirname’ [-Wunused-parameter]
at.c: In function ‘readlink_at’:
at.c:66:42: warning: unused parameter ‘dirname’ [-Wunused-parameter]

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: change MSGID_BUGS_ADDRESS
Karel Zak [Mon, 1 Aug 2011 09:30:29 +0000 (11:30 +0200)] 
po: change MSGID_BUGS_ADDRESS

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update ReleaseNotes v2.20-rc1
Karel Zak [Fri, 29 Jul 2011 20:48:58 +0000 (22:48 +0200)] 
docs: update ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix configure.ac for uuidd
Karel Zak [Fri, 29 Jul 2011 20:44:47 +0000 (22:44 +0200)] 
build-sys: fix configure.ac for uuidd

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix git-version-gen for -rc tags
Karel Zak [Fri, 29 Jul 2011 14:12:05 +0000 (16:12 +0200)] 
build-sys: fix git-version-gen for -rc tags

The current version have a problem to support "v2.20-rc1" format of
the tags.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: release++ (v2.20-rc1)
Karel Zak [Fri, 29 Jul 2011 13:14:52 +0000 (15:14 +0200)] 
build-sys: release++ (v2.20-rc1)

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: add 2.20 ReleaseNotes
Karel Zak [Fri, 29 Jul 2011 11:45:20 +0000 (13:45 +0200)] 
docs: add 2.20 ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agomisc: use unsigned int for bit-fileds
Karel Zak [Fri, 29 Jul 2011 08:51:06 +0000 (10:51 +0200)] 
misc: use unsigned int for bit-fileds

Reported-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update AUTHORS file
Karel Zak [Thu, 28 Jul 2011 12:15:38 +0000 (14:15 +0200)] 
docs: update AUTHORS file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: merge changes
Karel Zak [Thu, 28 Jul 2011 12:03:48 +0000 (14:03 +0200)] 
po: merge changes

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agopo: update fr.po (from translationproject.org)
David Prévot [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update fr.po (from translationproject.org)

14 years agopo: update da.po (from translationproject.org)
Joe Hansen [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update da.po (from translationproject.org)

14 years agopo: update cs.po (from translationproject.org)
Petr Písař [Thu, 28 Jul 2011 11:51:11 +0000 (13:51 +0200)] 
po: update cs.po (from translationproject.org)

14 years agobuild-sys: remove and ignore generated files
Karel Zak [Thu, 28 Jul 2011 11:47:56 +0000 (13:47 +0200)] 
build-sys: remove and ignore generated files

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agocfdisk: fix compilation with slang
Karel Zak [Thu, 28 Jul 2011 11:46:22 +0000 (13:46 +0200)] 
cfdisk: fix compilation with slang

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agohwclock: tiny change in comment
Karel Zak [Thu, 28 Jul 2011 11:24:26 +0000 (13:24 +0200)] 
hwclock: tiny change in comment

... to keep 'make checkconfig' happy.

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix 'make checkincludes' warnings
Karel Zak [Thu, 28 Jul 2011 11:21:00 +0000 (13:21 +0200)] 
build-sys: fix 'make checkincludes' warnings

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agodocs: update TODO file
Karel Zak [Thu, 28 Jul 2011 11:16:31 +0000 (13:16 +0200)] 
docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotests: update lscpu tests
Karel Zak [Wed, 27 Jul 2011 21:41:10 +0000 (23:41 +0200)] 
tests: update lscpu tests

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolscpu: extend --parse functionality
Karel Zak [Wed, 27 Jul 2011 21:10:01 +0000 (23:10 +0200)] 
lscpu: extend --parse functionality

... to allow define output columns, for example:

$ lscpu --parse=CPU,CORE,NODE,CACHE
# CPU,Core,Node,L1d:L1i:L2
0,0,0,0:0:0
1,1,0,1:1:0

Note that CPU caches are separated by ":" in the new format. The
output for --parse (without the list of the columns) is backwardly
compatible, it means:

$ lscpu --parse
# CPU,Core,Socket,Node,,L1d,L1i,L2
0,0,0,0,,0,0,0
1,1,0,0,,1,1,0

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude: [strutils.c] add list parsers
Karel Zak [Wed, 27 Jul 2011 14:41:21 +0000 (16:41 +0200)] 
include: [strutils.c] add list parsers

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoinclude; [tt.c] check for array size in columns parser
Karel Zak [Wed, 27 Jul 2011 14:21:11 +0000 (16:21 +0200)] 
include; [tt.c] check for array size in columns parser

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix gtk-doc distclean
Karel Zak [Wed, 27 Jul 2011 12:22:36 +0000 (14:22 +0200)] 
build-sys: fix gtk-doc distclean

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: enable mountpoint, add dependence on libmout
Karel Zak [Wed, 27 Jul 2011 10:02:36 +0000 (12:02 +0200)] 
build-sys: enable mountpoint, add dependence on libmout

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agohwclock: fix gcc warning (uninitialized variable)
Karel Zak [Wed, 27 Jul 2011 09:14:28 +0000 (11:14 +0200)] 
hwclock: fix gcc warning (uninitialized variable)

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoMerge branch 'hwclock' of https://github.com/kerolasa/lelux-utiliteetit
Karel Zak [Wed, 27 Jul 2011 07:56:39 +0000 (09:56 +0200)] 
Merge branch 'hwclock' of https://github.com/kerolasa/lelux-utiliteetit

14 years agohwclock: validate numeric option arguments
Sami Kerola [Mon, 25 Jul 2011 22:04:34 +0000 (00:04 +0200)] 
hwclock: validate numeric option arguments

Instead atoi() use strtoul_or_err().

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: move long options away from global scope
Sami Kerola [Mon, 25 Jul 2011 21:46:50 +0000 (23:46 +0200)] 
hwclock: move long options away from global scope

In addition `long only' options are made unreachable by using
8-bit characters.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: add variable initialization
Sami Kerola [Mon, 25 Jul 2011 20:20:03 +0000 (22:20 +0200)] 
hwclock: add variable initialization

The only variable found causing `conditional jump or move depends
on uninitialized value' is fixed.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: remove goto statement
Sami Kerola [Mon, 25 Jul 2011 20:08:40 +0000 (22:08 +0200)] 
hwclock: remove goto statement

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: fix compiler warnings
Sami Kerola [Mon, 25 Jul 2011 19:33:39 +0000 (21:33 +0200)] 
hwclock: fix compiler warnings

hwclock.c: In function 'manipulate_epoch':
hwclock.c:1299:29: warning: unused parameter 'getepoch' [-Wunused-parameter]
hwclock.c:1299:50: warning: unused parameter 'setepoch' [-Wunused-parameter]
hwclock.c:1300:14: warning: unused parameter 'epoch_opt' [-Wunused-parameter]
hwclock.c:1300:36: warning: unused parameter 'testing' [-Wunused-parameter]
hwclock.c: In function 'usage':
hwclock.c:1373:1: warning: embedding a directive within macro arguments is not portable [enabled by default]
hwclock.c:1377:1: warning: embedding a directive within macro arguments is not portable [enabled by default]
hwclock.c:1383:1: warning: embedding a directive within macro arguments is not portable [enabled by default]
hwclock.c:1385:1: warning: embedding a directive within macro arguments is not portable [enabled by default]

cmos.c: In function 'outb':
cmos.c:84:15: warning: unused parameter 'a' [-Wunused-parameter]
cmos.c:84:22: warning: unused parameter 'b' [-Wunused-parameter]
cmos.c: In function 'inb':
cmos.c:88:13: warning: unused parameter 'c' [-Wunused-parameter]
cmos.c: In function 'atomic':
cmos.c:265:20: warning: unused parameter 'name' [-Wunused-parameter]
cmos.c: In function 'i386_iopl':
cmos.c:544:32: warning: unused parameter 'level' [-Wunused-parameter]
cmos.c: In function 'get_permissions_cmos':
cmos.c:565:8: warning: unused variable 'errsv' [-Wunused-variable]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: move path definitions to pathnames.h
Sami Kerola [Sun, 24 Jul 2011 21:18:22 +0000 (23:18 +0200)] 
hwclock: move path definitions to pathnames.h

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: use libc error printing functions
Sami Kerola [Sun, 24 Jul 2011 18:30:29 +0000 (20:30 +0200)] 
hwclock: use libc error printing functions

In addition numeric exit values are converted to defined strings.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: include-what-you-use header check
Sami Kerola [Sun, 24 Jul 2011 17:58:17 +0000 (19:58 +0200)] 
hwclock: include-what-you-use header check

One deletion, few adds and sort to include lists.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agohwclock: coding style clean up
Sami Kerola [Sun, 24 Jul 2011 15:35:43 +0000 (17:35 +0200)] 
hwclock: coding style clean up

Despide amount of the change this change should be harmless.
Everything is about indendation, comment restructuring etc not
code changes.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
14 years agolibblkid: minor change in man page
Karel Zak [Tue, 26 Jul 2011 14:46:00 +0000 (16:46 +0200)] 
libblkid: minor change in man page

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agotests: remove generated file
Karel Zak [Tue, 26 Jul 2011 13:53:56 +0000 (15:53 +0200)] 
tests: remove generated file

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agobuild-sys: fix gtk-doc build
Karel Zak [Tue, 26 Jul 2011 13:52:08 +0000 (15:52 +0200)] 
build-sys: fix gtk-doc build

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoMerge branch 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit
Karel Zak [Tue, 26 Jul 2011 12:41:28 +0000 (14:41 +0200)] 
Merge branch 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit

* 'cramfs' of https://github.com/kerolasa/lelux-utiliteetit:
  include: move fsck return values to exitcodes.h
  include: move disk-utils/mkfs.h -> include/exitcodes.h
  mkfs.cramfs: coding style
  mkfs.cramfs: include-what-you-use header check
  mkfs.cramfs: error printing fixes
  mkfs.cramfs: convert spaces to tabs
  mkfs.cramfs: validate numeric user inputs
  mkfs.cramfs: few symbolic exit codes where missing
  md5: use symbolical digest length
  mkfs.cramfs: use program_invocation_short_name
  mkfs.cramfs: use xalloc.h
  fsck.cramfs: add missed strings to translation
  fsck.cramfs: coding style
  fsck.cramfs: use xalloc.h
  fsck.cramfs: retire die function
  cramfs.h: coding style
  cramfs: use stdint.h instead of u{8,16,32}
  cramfs_common: coding style

Conflicts:
disk-utils/Makefile.am

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibblkid: vfat big endian fix
Jindrich Makovicka [Sun, 24 Jul 2011 12:13:07 +0000 (14:13 +0200)] 
libblkid: vfat big endian fix

when getting the next cluster id, clear the 4 most significant bits
after converting to machine endian

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
14 years agolibblkid: use 64bit offset in search_fat_label to avoid truncation
Jindrich Makovicka [Sun, 24 Jul 2011 12:12:06 +0000 (14:12 +0200)] 
libblkid: use 64bit offset in search_fat_label to avoid truncation

[kzak@redhat.com: - use %jd for the offset in debug message]

Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agoscriptreplay: fix buffer overflow
Sami Kerola [Tue, 26 Jul 2011 09:49:30 +0000 (11:49 +0200)] 
scriptreplay: fix buffer overflow

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agowhereis: update coding style
Davidlohr Bueso [Sun, 24 Jul 2011 15:11:19 +0000 (11:11 -0400)] 
whereis: update coding style

Like most 20th century Berkeley code, it's horrible:
- declare global variables in only one place
- add static attribute where it belongs
- move funcion declarations so that it doesn't require defining them

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agowhereis: remove find()
Davidlohr Bueso [Sun, 24 Jul 2011 14:59:25 +0000 (10:59 -0400)] 
whereis: remove find()

Because findv() can do the same job find() does, we can simply remove it and
call findv() with the size of each array.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agolscpu: use xalloc
Davidlohr Bueso [Sun, 24 Jul 2011 18:39:15 +0000 (14:39 -0400)] 
lscpu: use xalloc

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agopartx: use sysfs_deinit
Davidlohr Bueso [Sun, 24 Jul 2011 15:29:23 +0000 (11:29 -0400)] 
partx: use sysfs_deinit

Commit a88268b8cc124b6f721ba17ab01a3f6d5800c749 (get partition number with
sysfs lib) recently added the sysfs library to partx without freeing resources
once finished.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agosysfs: free used resources
Davidlohr Bueso [Sun, 24 Jul 2011 15:22:52 +0000 (11:22 -0400)] 
sysfs: free used resources

In the sysfs lib example, we should be using sysfs_deinit() to free used
resources and for correct usage.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
14 years agotests: add -o remount to libmount tests
Karel Zak [Mon, 25 Jul 2011 13:54:28 +0000 (15:54 +0200)] 
tests: add -o remount to libmount tests

Signed-off-by: Karel Zak <kzak@redhat.com>
14 years agolibmount: remove 'seclabel' on remount, improve for 2.6.39
Karel Zak [Mon, 25 Jul 2011 13:44:16 +0000 (15:44 +0200)] 
libmount: remove 'seclabel' on remount, improve for 2.6.39

Signed-off-by: Karel Zak <kzak@redhat.com>