mirror of
https://github.com/nilfs-dev/nilfs-utils.git
synced 2026-01-26 13:43:15 +00:00
Fix the following checkpatch warnings: WARNING: quoted string split across lines #97: FILE: lscp.c:97: + printf(" CNO DATE TIME MODE FLG %s" + " ICNT\n", WARNING: quoted string split across lines #257: FILE: cleaner_ctl.c:257: + _("Error: no valid nilfs mountpoint " + "found.")); WARNING: quoted string split across lines #308: FILE: cleaner_ctl.c:308: + _("Error: cannot create receive queue: " + "%s."), WARNING: quoted string split across lines #338: FILE: cleaner_ctl.c:338: + _("Error: cannot open cleaner on " + "%s: %s."), WARNING: quoted string split across lines #290: FILE: cleaner_exec.c:290: + nilfs_cleaner_printf(_("cleanerd (pid=%ld) still exists on %d. " + "waiting."), WARNING: quoted string split across lines #380: FILE: cleanerd/cleanerd.c:380: + syslog(LOG_ERR, "failed to create checkpoint number converter " + ": %m"); WARNING: quoted string split across lines #1397: FILE: cleanerd/cleanerd.c:1397: + syslog(LOG_ERR, "cannot convert protection time to checkpoint " + "number: %m"); WARNING: quoted string split across lines #730: FILE: mkfs/mkfs.c:730: + perr("Error: %s is currently mounted. " + "You cannot make a filesystem on this device.", WARNING: quoted string split across lines #772: FILE: mkfs/mkfs.c:772: + pinfo("WARNING: Device %s appears to contain " + "an existing %s superblock.", WARNING: quoted string split across lines #777: FILE: mkfs/mkfs.c:777: + pinfo("WARNING: Device %s appears to contain " + "an partition table (%s).", WARNING: quoted string split across lines #782: FILE: mkfs/mkfs.c:782: + pinfo("Device %s appears to contain " + "something weird.", device); WARNING: quoted string split across lines #860: FILE: mkfs/mkfs.c:860: + perr("Internal error: illegal disk buffer access " + "(blocknr=%llu)", blocknr); WARNING: quoted string split across lines #946: FILE: mkfs/mkfs.c:946: + pinfo("Discard succeeded and will return 0s " + " - skip wiping"); WARNING: quoted string split across lines #206: FILE: mount/fstab.c:206: + printf (_("mount: could not open %s - " + "using %s instead\n"), WARNING: quoted string split across lines #434: FILE: mount/fstab.c:434: + die (EX_FILEIO, _("can't create lock file %s: %s " + "(use -n flag to override)"), WARNING: quoted string split across lines #460: FILE: mount/fstab.c:460: + die (EX_FILEIO, _("can't link lock file %s: %s " + "(use -n flag to override)"), WARNING: quoted string split across lines #476: FILE: mount/fstab.c:476: + die (EX_FILEIO, _("can't open lock file %s: %s " + "(use -n flag to override)"), WARNING: quoted string split across lines #430: FILE: mount/mount.nilfs2.c:430: + error(_("%s: the device already has a rw-mount on %s." + "\n\t\tmultiple rw-mount is not allowed."), WARNING: quoted string split across lines #446: FILE: mount/mount.nilfs2.c:446: + error(_("%s: remount failed due to %s shutdown " + "failure"), progname, NILFS_CLEANERD_NAME); WARNING: quoted string split across lines #301: FILE: mount/mount_libmount.c:301: + error(_("%s: the device already has a rw-mount on %s." + "\n\t\tmultiple rw-mount is not allowed."), WARNING: quoted string split across lines #324: FILE: mount/mount_libmount.c:324: + error(_("%s: different mount point (%s). " + "remount failed."), WARNING: quoted string split across lines #334: FILE: mount/mount_libmount.c:334: + error(_("%s: remount failed due to %s " + "shutdown failure"), progname, WARNING: quoted string split across lines #182: FILE: mount/mount_mntent.c:182: + fprintf(stderr, _("[mntent]: warning: no final " + "newline at the end of %s\n"), WARNING: quoted string split across lines #466: FILE: nilfs-clean/nilfs-clean.c:466: + myprintf(_("Error: invalid protection period: " + "%s\n"), optarg); WARNING: quoted string split across lines #353: FILE: nilfs-resize/nilfs-resize.c:353: + myprintf("Error: the filesystem does not have enough free " + "space.\n" WARNING: quoted string split across lines #362: FILE: nilfs-resize/nilfs-resize.c:362: + myprintf("%llu free segments (%llu bytes) will be left " + "after shrinkage.\n", nsegs, nbytes); WARNING: quoted string split across lines #393: FILE: nilfs-resize/nilfs-resize.c:393: + myprintf("Error: operation failed during searching " + "movable segments: %s\n", strerror(errno)); WARNING: quoted string split across lines #430: FILE: nilfs-resize/nilfs-resize.c:430: + myprintf("Error: operation failed during searching " + "latest segment: %s\n", strerror(errno)); WARNING: quoted string split across lines #468: FILE: nilfs-resize/nilfs-resize.c:468: + myprintf("Error: operation failed during searching " + "active segments: %s\n", strerror(errno)); WARNING: quoted string split across lines #499: FILE: nilfs-resize/nilfs-resize.c:499: + myprintf("Error: operation failed during searching " + "in-use segments: %s\n", strerror(errno)); WARNING: quoted string split across lines #529: FILE: nilfs-resize/nilfs-resize.c:529: + myprintf("Error: operation failed during counting " + "in-use segments: %s\n", strerror(errno)); WARNING: quoted string split across lines #725: FILE: nilfs-resize/nilfs-resize.c:725: + myprintf("Error: Failed to move active segments -- " + "give up.\n"); WARNING: quoted string split across lines #752: FILE: nilfs-resize/nilfs-resize.c:752: + myprintf("Error: Confused. Number of segments became larger " + "than requested size.\n"); WARNING: quoted string split across lines #798: FILE: nilfs-resize/nilfs-resize.c:798: + myprintf("Error: operation failed during moving " + "in-use segments: %s\n", strerror(errno)); WARNING: quoted string split across lines #866: FILE: nilfs-resize/nilfs-resize.c:866: + myprintf("%llu segments will be truncated from " + "segnum %llu.\n", WARNING: quoted string split across lines #873: FILE: nilfs-resize/nilfs-resize.c:873: + myprintf("Error: Confused. Number of segments " + "became larger than requested size:\n" WARNING: quoted string split across lines #888: FILE: nilfs-resize/nilfs-resize.c:888: + myprintf(" This kernel does not support the " + "set allocation range API.\n"); WARNING: quoted string split across lines #940: FILE: nilfs-resize/nilfs-resize.c:940: + myprintf("In-use segment found again. " + "will retry moving them.. (retry = %d)\n", WARNING: quoted string split across lines #1175: FILE: nilfs-resize/nilfs-resize.c:1175: + myprintf("Error: size larger than partition " + "size (%llu bytes).\n", devsize); WARNING: quoted string split across lines #1190: FILE: nilfs-resize/nilfs-resize.c:1190: + myprintf("size %llu is not alinged to sector " + "size. truncated to %llu.\n", WARNING: quoted string split across lines #1201: FILE: nilfs-resize/nilfs-resize.c:1201: + myprintf("Error: %s is not currently mounted. Offline resising" + "\n" WARNING: quoted string split across lines #288: FILE: nilfs-tune/nilfs-tune.c:288: + sprintf(buf, "%02x%02x%02x%02x-%02x%02x-%02x%02x-" + "%02x%02x-%02x%02x%02x%02x%02x%02x", uuid[0], uuid[1], WARNING: quoted string split across lines #527: FILE: nilfs-tune/nilfs-tune.c:527: + fprintf(stderr, "Warning: %s: unknown incompatible " + "features: 0x%llx\n", device, features); WARNING: quoted string split across lines #533: FILE: nilfs-tune/nilfs-tune.c:533: + fprintf(stderr, "Warning: %s: unknown read-only compatible " + "features: 0x%llx\n", device, features); WARNING: quoted string split across lines #591: FILE: nilfs-tune/nilfs-tune.c:591: + fprintf(stderr, "ERROR: %s is currently mounted. " + "Aborting execution.\n" Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>