diff options
Diffstat (limited to 'toys/other/losetup.c')
-rw-r--r-- | toys/other/losetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/other/losetup.c b/toys/other/losetup.c index a40d9e42..4e467a9c 100644 --- a/toys/other/losetup.c +++ b/toys/other/losetup.c @@ -88,7 +88,7 @@ static void loopback_setup(char *device, char *file) if (-1 == lfd || ioctl(lfd, LOOP_GET_STATUS64, loop)) { if (errno == ENXIO && (flags & (FLAG_a|FLAG_j))) goto done; if (errno != ENXIO || !file) { - perror_msg("%s", device ? device : "-f"); + perror_msg_raw(device ? device : "-f"); goto done; } } @@ -101,7 +101,7 @@ static void loopback_setup(char *device, char *file) if (flags & (FLAG_c|FLAG_d)) { // The constant is LOOP_SET_CAPACITY if (ioctl(lfd, (flags & FLAG_c) ? 0x4C07 : LOOP_CLR_FD, 0)) { - perror_msg("%s", device); + perror_msg_raw(device); goto done; } // Associate file with this device? |