diff options
| author | Chris Lumens <clumens@redhat.com> | 2008-01-31 15:37:37 -0500 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2008-01-31 15:40:50 -0500 |
| commit | c9fe2f1cfb8d7414697bf39151eb89e08f2c5e07 (patch) | |
| tree | 733b97a084a591b540c9799b1afb9f0e0b01c8f0 /loader2/method.c | |
| parent | 84df7e2ae23ab82ccf5c841291d6030afa8a6a28 (diff) | |
Strip /dev from front of error message so it's not misleading.
Diffstat (limited to 'loader2/method.c')
| -rw-r--r-- | loader2/method.c | 2 |
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; |
