util-linux/sys-utils
Ruediger Meier f2ff0adf5d misc: fix some warnings
sys-utils/prlimit.c: In function 'do_prlimit':
sys-utils/prlimit.c:367:16: warning: format '%ju' expects argument of type 'uintmax_t', but argument 2 has type 'rlim_t {aka long long unsigned int}' [-Wformat=]
     printf("<%ju", new->rlim_cur);

lib/plymouth-ctrl.c: In function 'open_un_socket_and_connect':
lib/plymouth-ctrl.c:88:20: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types]
  ret = connect(fd, &su, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(su.sun_path+1));
                    ^
In file included from lib/plymouth-ctrl.c:35:0:
/usr/include/sys/socket.h:314:5: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *'
 int connect (int, const struct sockaddr *, socklen_t);

login-utils/last.c: In function 'list':
login-utils/last.c:506:54: warning: pointer targets in passing argument 4 of 'dns_lookup' differ in signedness [-Wpointer-sign]
   r = dns_lookup(domain, sizeof(domain), ctl->useip, p->ut_addr_v6);
                                                      ^
login-utils/last.c:291:12: note: expected 'int32_t * {aka int *}' but argument is of type 'unsigned int *'
 static int dns_lookup(char *result, int size, int useip, int32_t *a)
            ^~~~~~~~~~

In file included from sys-utils/hwclock-cmos.c:92:0:
sys-utils/hwclock.h:67:32: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
 extern double time_diff(struct timeval subtrahend, struct timeval subtractor);

misc-utils/test_uuidd.c: In function 'create_nthreads':
misc-utils/test_uuidd.c:187:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        proc->pid, (int) th->tid, th->index));

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
2017-06-01 10:28:18 +02:00
..
.gitignore build-sys: support ./configure ADJTIME_PATH= 2014-06-19 10:30:56 +02:00
Makemodule.am blkreport, blkreset: remove in favour of blkzone 2017-02-23 17:03:26 +01:00
blkdiscard.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
blkdiscard.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
blkzone.8 blkzone: add count option to bash-completion 2017-02-24 12:05:13 +01:00
blkzone.c blkzone: Fix zone condition strings handling 2017-04-18 11:25:31 +02:00
chcpu.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
chcpu.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
chmem.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
chmem.c chmem: don't use scanf format for printf 2017-04-10 15:41:21 +02:00
ctrlaltdel.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ctrlaltdel.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
dmesg.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
dmesg.c dmesg: remove unnecessary header 2017-05-31 09:18:10 +02:00
eject.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
eject.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
fallocate.1 fallocate: Added posix_fallocate() support. 2017-01-31 12:51:28 +01:00
fallocate.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
flock.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
flock.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
fsfreeze.8 fsfreeze: move filesystem support info to manual page 2016-12-22 12:18:45 +01:00
fsfreeze.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
fstab.5 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
fstrim.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
fstrim.c fstrim: use MNT_EX_* from libmount 2017-04-27 14:26:16 +02:00
fstrim.service.in fstrim: add -v to the systemd service 2016-10-18 12:09:53 +02:00
fstrim.timer fstrim: systemd timer units should be WantedBy=timers.target 2016-01-12 10:30:36 +01:00
hwclock-cmos.c hwclock: remove dead cmos code 2017-03-31 10:04:53 -04:00
hwclock-rtc.c hwclock: fix whitespace in hwclock-rtc.c 2017-04-10 14:50:32 -04:00
hwclock.8.in hwclock: remove residual 'compare' from man-page 2017-04-10 14:57:01 -04:00
hwclock.c hwclock: use a consistent name for --predict 2017-04-26 23:19:56 -04:00
hwclock.h misc: fix some warnings 2017-06-01 10:28:18 +02:00
ipcmk.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcmk.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
ipcrm.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcrm.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
ipcs.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ipcs.c ipcs: make shmall overflow a bit less worse 2017-04-03 09:34:38 +02:00
ipcutils.c misc: Fix various typos 2016-05-31 23:40:21 +02:00
ipcutils.h ipcs: ulong -> unsigned long 2016-02-11 12:31:03 +01:00
ldattach.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
ldattach.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
losetup.8 losetup.8: Reorder options documentation 2017-04-04 12:52:06 +02:00
losetup.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
lp.h Imported from util-linux-2.9v tarball. 2006-12-07 00:25:39 +01:00
lscpu-dmi.c lscpu: use macro for path to DMI 2017-04-18 11:18:36 +02:00
lscpu.1 lscpu: add --json 2017-03-14 15:32:53 +01:00
lscpu.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
lscpu.h lscpu: Detect Windows Subsystem for Linux 2017-01-31 12:28:32 +01:00
lsipc.1 lsipc: fix options parsing and sync with man page 2017-05-02 23:22:04 +01:00
lsipc.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
lsmem.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lsmem.c build-sys: remove duplicate includes 2017-05-12 11:17:02 +02:00
lsns.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lsns.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
mount.8 libmount: support MS_RDONLY on write-protected devices 2017-04-26 17:27:02 +02:00
mount.c libmount: add read-only warning 2017-04-28 11:03:24 +02:00
mountpoint.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mountpoint.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
nsenter.1 nsenter: fix usage() and improve man page 2017-01-09 12:50:09 +01:00
nsenter.c nsenter: fix usage() and improve man page 2017-01-09 12:50:09 +01:00
pivot_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
pivot_root.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
prlimit.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
prlimit.c misc: fix some warnings 2017-06-01 10:28:18 +02:00
readprofile.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
readprofile.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
renice.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
renice.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
rtcwake.8.in docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
rtcwake.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
setarch.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
setarch.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
setpriv.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
setpriv.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
setsid.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
setsid.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
swapoff.8 build-sys: move swapon from mount/ to sys-utils/ 2012-01-11 12:14:29 +01:00
swapoff.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
swapon-common.c mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages 2016-03-16 10:39:38 +01:00
swapon-common.h swapon: split swapon-common.c 2014-09-22 13:16:25 +02:00
swapon.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
swapon.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
switch_root.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
switch_root.c switch_root: use getopt_long() to parse options 2017-05-10 10:53:28 +02:00
tunelp.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
tunelp.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
umount.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
umount.c umount: use MNT_EX_* from libmount 2017-04-27 14:25:57 +02:00
unshare.1 unshare: add note about persisten PID namespaces 2017-03-27 13:25:31 +02:00
unshare.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
wdctl.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wdctl.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
zramctl.8 zramctl: be more specific about default output 2017-04-04 12:08:05 +02:00
zramctl.c zramctl: add mising line terminator 2017-05-18 15:10:04 +02:00