util-linux/misc-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 chkdupexe: remove, deprecated for years 2013-03-14 13:34:11 +01:00
Makemodule.am cal: ncurses cleanup 2017-05-30 17:14:46 +02:00
blkid.8 blkid: add long options 2017-05-02 23:22:04 +01:00
blkid.c Merge branch '2017wk16' of git://github.com/kerolasa/lelux-utiliteetit 2017-05-09 11:58:23 +02:00
cal.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
cal.c build-sys: ncurses headers cleanup 2017-05-31 11:01:46 +02:00
fincore.1 fincore: add column RES 2017-03-27 13:08:40 +02:00
fincore.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
findfs.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findfs.c findfs: use getopt_long() to parse options 2017-05-02 23:22:04 +01:00
findmnt-verify.c findmnt: fix couple memory leaks [cppcheck] 2017-02-20 13:00:58 +01:00
findmnt.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
findmnt.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
findmnt.h findmnt: add --verify and --verbose 2016-09-23 13:21:02 +02:00
getopt-parse.bash getops: make --a-long option work again 2017-05-16 14:54:41 +02:00
getopt-parse.tcsh getops: improve getopt-parse.bash example 2016-07-27 16:08:43 +01:00
getopt.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
getopt.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
kill.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
kill.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
logger.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
logger.c logger: make month names, login name, and tag read-only objects 2017-05-02 23:22:04 +01:00
look.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
look.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
lsblk.8 lsblk: add ZONED column 2017-04-19 14:07:03 +02:00
lsblk.c misc: consolidate smartcols error messages 2017-05-18 11:39:34 +02:00
lslocks.8 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
lslocks.c lslocks: remove dead code 2017-05-18 15:10:51 +02:00
mcookie.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
mcookie.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
namei.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
namei.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00
rename.1 rename: add --no-act option 2017-02-15 13:41:46 +01:00
rename.c rename: make --no-act to imply --verbose 2017-05-19 11:43:34 +02:00
test_uuidd.c misc: fix some warnings 2017-06-01 10:28:18 +02:00
uuidd.8.in docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidd.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
uuidd.rc.in uuidd: Fixed a typo in daemon logging message 2014-11-18 14:14:47 +01:00
uuidd.service.in uuidd: remove timeout from systemd service file 2014-04-29 10:37:26 +02:00
uuidd.socket.in build-sys: add missing files 2012-07-11 18:00:09 +02:00
uuidgen.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
uuidgen.c Use --help suggestion on invalid option 2016-12-19 13:13:34 +01:00
whereis.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
whereis.c misc: add static keyword to where needed [smatch scan] 2017-02-20 12:58:49 +01:00
wipefs.8 wipefs: add note about no-act to the man page 2017-05-11 15:54:30 +02:00
wipefs.c misc: do not use plain 0 as NULL [smatch scan] 2017-02-20 12:58:49 +01:00