]> err.no Git - util-linux/commitdiff
findmnt: ungettextize the directions and fix spelling
authorBenno Schulenberg <bensberg@justemail.net>
Thu, 10 Jun 2010 13:05:52 +0000 (15:05 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 14 Jun 2010 09:20:11 +0000 (11:20 +0200)
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
misc-utils/findmnt.c

index c207432bdbe6bc6661840898f9d79c1eab4f866d..7f166c8c229f8cd643fe6daf1c7b8717aeccf443 100644 (file)
@@ -555,13 +555,13 @@ int main(int argc, char *argv[])
                        flags |= FL_CANONICALIZE;
                        break;
                case 'd':
-                       if (!strcmp(optarg, _("forward")))
+                       if (!strcmp(optarg, "forward"))
                                direction = MNT_ITER_FORWARD;
-                       else if (!strcmp(optarg, _("backward")))
+                       else if (!strcmp(optarg, "backward"))
                                direction = MNT_ITER_BACKWARD;
                        else
                                errx(EXIT_FAILURE,
-                                       _("uknown direction '%s')"), optarg);
+                                       _("unknown direction '%s')"), optarg);
                        break;
                case 'e':
                        flags |= FL_EVALUATE;