]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - logprint/log_copy.c
apply gettext translation to more strings
[thirdparty/xfsprogs-dev.git] / logprint / log_copy.c
index e45333766fa7673ea5705b46cbb958b51ae99e7a..fd363173b49c8201d0135f1866df28b715e92b7f 100644 (file)
@@ -41,28 +41,28 @@ xfs_log_copy(
        for (blkno = 0; blkno < log->l_logBBsize; blkno++) {
                r = read(fd, buf, sizeof(buf));
                if (r < 0) {
-                       fprintf(stderr, "%s: read error (%lld): %s\n",
+                       fprintf(stderr, _("%s: read error (%lld): %s\n"),
                                __FUNCTION__, (long long)blkno,
                                strerror(errno));
                        continue;
                } else if (r == 0) {
-                       printf("%s: physical end of log at %lld\n",
+                       printf(_("%s: physical end of log at %lld\n"),
                                __FUNCTION__, (long long)blkno);
                        break;
                } else if (r != sizeof(buf)) {
-                       fprintf(stderr, "%s: short read? (%lld)\n",
+                       fprintf(stderr, _("%s: short read? (%lld)\n"),
                                        __FUNCTION__, (long long)blkno);
                        continue;
                }
 
                r = write(ofd, buf, sizeof(buf));
                if (r < 0) {
-                       fprintf(stderr, "%s: write error (%lld): %s\n",
+                       fprintf(stderr, _("%s: write error (%lld): %s\n"),
                                __FUNCTION__, (long long)blkno,
                                strerror(errno));
                        break;
                } else if (r != sizeof(buf)) {
-                       fprintf(stderr, "%s: short write? (%lld)\n",
+                       fprintf(stderr, _("%s: short write? (%lld)\n"),
                                __FUNCTION__, (long long)blkno);
                        continue;
                }