Remove unnecessary casts in printfs
No functional change expected :)
This commit is contained in:
@@ -274,9 +274,9 @@ static int builtin_blkid(struct udev_device *dev, int argc, char *argv[], bool t
|
||||
if (err < 0)
|
||||
goto out;
|
||||
|
||||
log_debug("probe %s %sraid offset=%llu",
|
||||
log_debug("probe %s %sraid offset=%"PRIu64,
|
||||
udev_device_get_devnode(dev),
|
||||
noraid ? "no" : "", (unsigned long long) offset);
|
||||
noraid ? "no" : "", offset);
|
||||
|
||||
err = probe_superblocks(pr);
|
||||
if (err < 0)
|
||||
|
||||
@@ -48,9 +48,9 @@ static void print_device(struct udev_device *device, const char *source, int pro
|
||||
struct timespec ts;
|
||||
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
printf("%-6s[%llu.%06u] %-8s %s (%s)\n",
|
||||
printf("%-6s[%"PRI_TIME".%06ld] %-8s %s (%s)\n",
|
||||
source,
|
||||
(unsigned long long) ts.tv_sec, (unsigned int) ts.tv_nsec/1000,
|
||||
ts.tv_sec, ts.tv_nsec/1000,
|
||||
udev_device_get_action(device),
|
||||
udev_device_get_devpath(device),
|
||||
udev_device_get_subsystem(device));
|
||||
|
||||
Reference in New Issue
Block a user