aboutsummaryrefslogtreecommitdiffstats
path: root/libexfat/io.c
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2014-06-01 19:53:48 +0000
committerrelan <relan@users.noreply.github.com>2015-08-24 08:26:16 +0300
commiteca4ae8fb316ad5ef7f190917bcac4accffc3301 (patch)
tree9e2833e10f37469bcb1d719d07c133c77ffd49c3 /libexfat/io.c
parent174be33f21390c2b002921f3968772c054c2a543 (diff)
downloadandroid_external_exfat-eca4ae8fb316ad5ef7f190917bcac4accffc3301.tar.gz
android_external_exfat-eca4ae8fb316ad5ef7f190917bcac4accffc3301.tar.bz2
android_external_exfat-eca4ae8fb316ad5ef7f190917bcac4accffc3301.zip
Use apostrophe for both opening and closing quotes in messages.
This is a recommendation from GNU Coding Standards.
Diffstat (limited to 'libexfat/io.c')
-rw-r--r--libexfat/io.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libexfat/io.c b/libexfat/io.c
index 5a84ec4..05fac61 100644
--- a/libexfat/io.c
+++ b/libexfat/io.c
@@ -100,7 +100,7 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
if (dev->fd == -1)
{
free(dev);
- exfat_error("failed to open `%s' in read-only mode", spec);
+ exfat_error("failed to open '%s' in read-only mode", spec);
return NULL;
}
dev->mode = EXFAT_MODE_RO;
@@ -110,7 +110,7 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
if (dev->fd == -1)
{
free(dev);
- exfat_error("failed to open `%s' in read-write mode", spec);
+ exfat_error("failed to open '%s' in read-write mode", spec);
return NULL;
}
dev->mode = EXFAT_MODE_RW;
@@ -126,11 +126,11 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
if (dev->fd != -1)
{
dev->mode = EXFAT_MODE_RO;
- exfat_warn("`%s' is write-protected, mounting read-only", spec);
+ exfat_warn("'%s' is write-protected, mounting read-only", spec);
break;
}
free(dev);
- exfat_error("failed to open `%s'", spec);
+ exfat_error("failed to open '%s'", spec);
return NULL;
}
@@ -138,7 +138,7 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
{
close(dev->fd);
free(dev);
- exfat_error("failed to fstat `%s'", spec);
+ exfat_error("failed to fstat '%s'", spec);
return NULL;
}
if (!S_ISBLK(stbuf.st_mode) &&
@@ -147,7 +147,7 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
{
close(dev->fd);
free(dev);
- exfat_error("`%s' is neither a device, nor a regular file", spec);
+ exfat_error("'%s' is neither a device, nor a regular file", spec);
return NULL;
}
@@ -208,14 +208,14 @@ struct exfat_dev* exfat_open(const char* spec, enum exfat_mode mode)
{
close(dev->fd);
free(dev);
- exfat_error("failed to get size of `%s'", spec);
+ exfat_error("failed to get size of '%s'", spec);
return NULL;
}
if (exfat_seek(dev, 0, SEEK_SET) == -1)
{
close(dev->fd);
free(dev);
- exfat_error("failed to seek to the beginning of `%s'", spec);
+ exfat_error("failed to seek to the beginning of '%s'", spec);
return NULL;
}
}