diff options
author | Guillem Jover <guillem@debian.org> | 2015-02-27 09:44:08 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-04-10 04:23:56 +0200 |
commit | d465dca48fb9c7c03aedf6fd8f266d22085d2bec (patch) | |
tree | 51002134f1b1e6206c988eb05bc7c77f791aa977 /utils/update-alternatives.c | |
parent | 9929591b148577bec771400e003c820afcb9175d (diff) | |
download | dpkg-d465dca48fb9c7c03aedf6fd8f266d22085d2bec.tar.gz |
Consistently use proper quotation marks all over the place
That is "" or '', and not the unbalanced `' pair.
Diffstat (limited to 'utils/update-alternatives.c')
-rw-r--r-- | utils/update-alternatives.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c index 1ef2ab4b1..ec59252bc 100644 --- a/utils/update-alternatives.c +++ b/utils/update-alternatives.c @@ -316,7 +316,7 @@ xreadlink(const char *linkname) buf = areadlink(linkname); if (buf == NULL) - syserr(_("unable to read link `%.255s'"), linkname); + syserr(_("unable to read link '%.255s'"), linkname); return buf; } @@ -478,14 +478,14 @@ static void checked_symlink(const char *filename, const char *linkname) { if (symlink(filename, linkname)) - syserr(_("error creating symbolic link `%.255s'"), linkname); + syserr(_("error creating symbolic link '%.255s'"), linkname); } static void checked_mv(const char *src, const char *dst) { if (!rename_mv(src, dst)) - syserr(_("unable to install `%.250s' as `%.250s'"), src, dst); + syserr(_("unable to install '%.250s' as '%.250s'"), src, dst); } static void @@ -1087,7 +1087,7 @@ altdb_get_namelist(struct dirent ***table) count = scandir(admdir, table, altdb_filter_namelist, alphasort); if (count < 0) - syserr(_("cannot scan directory `%.255s'"), admdir); + syserr(_("cannot scan directory '%.255s'"), admdir); return count; } @@ -2529,7 +2529,7 @@ main(int argc, char **argv) for (i = 1; i < argc; i++) { if (strstr(argv[i], "--") != argv[i]) { - error(_("unknown argument `%s'"), argv[i]); + error(_("unknown argument '%s'"), argv[i]); } else if (strcmp("--help", argv[i]) == 0) { usage(); exit(0); @@ -2666,7 +2666,7 @@ main(int argc, char **argv) opt_force = 1; PUSH_OPT(argv[i]); } else { - badusage(_("unknown option `%s'"), argv[i]); + badusage(_("unknown option '%s'"), argv[i]); } } |