From: Karel Zak Date: Wed, 15 Apr 2026 10:45:07 +0000 (+0200) Subject: Merge branch 'optarg' of https://github.com/stoeckmann/util-linux X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=429df39a5b0cc5a4c317dbb0e87d029cc6e3ee3a;p=thirdparty%2Futil-linux.git Merge branch 'optarg' of https://github.com/stoeckmann/util-linux * 'optarg' of https://github.com/stoeckmann/util-linux: lsirq: Skip optarg duplication chmem: Skip optarg duplication getopt: Skip optarg duplication copyfilerange: Skip optarg duplication blkid: Fix memory leaks login: Skip optarg duplication lib/cpuset: Skip optarg duplication last: Skip optarg duplication --- 429df39a5b0cc5a4c317dbb0e87d029cc6e3ee3a diff --cc login-utils/last.c index 51743e5b4,e953a0214..8b5d64360 --- a/login-utils/last.c +++ b/login-utils/last.c @@@ -997,10 -989,12 +997,10 @@@ int main(int argc, char **argv { struct last_control ctl = { .showhost = TRUE, - .name_len = LAST_LOGIN_LEN, .time_fmt = LAST_TIMEFTM_SHORT, - .domain_len = LAST_DOMAIN_LEN, .fullnames_mode = false, }; - char **files = NULL; + const char **files = NULL; struct number_buffer nb = { .pos = 0 };