summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-01-31 15:37:37 -0500
committerChris Lumens <clumens@redhat.com>2008-01-31 15:40:50 -0500
commitc9fe2f1cfb8d7414697bf39151eb89e08f2c5e07 (patch)
tree733b97a084a591b540c9799b1afb9f0e0b01c8f0 /loader2/method.c
parent84df7e2ae23ab82ccf5c841291d6030afa8a6a28 (diff)
Strip /dev from front of error message so it's not misleading.
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/method.c b/loader2/method.c
index 67a237672..b92b16c08 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -604,7 +604,7 @@ int copyFileAndLoopbackMount(int fd, char * dest,
if (mountLoopback(dest, mntpoint, device)) {
/* JKFIXME: this used to be fatal, but that seems unfriendly */
- logMessage(ERROR, "Error mounting /dev/%s on %s (%s)", device,
+ logMessage(ERROR, "Error mounting %s on %s (%s)", device,
mntpoint, strerror(errno));
unlink(dest);
return 1;