diff options
Diffstat (limited to 'util-linux')
| -rw-r--r-- | util-linux/fdisk.c | 2 | ||||
| -rw-r--r-- | util-linux/switch_root.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c index d5edaaa00..3061f0d8d 100644 --- a/util-linux/fdisk.c +++ b/util-linux/fdisk.c | |||
| @@ -1371,7 +1371,7 @@ get_boot(enum action what) | |||
| 1371 | #endif | 1371 | #endif |
| 1372 | break; | 1372 | break; |
| 1373 | default: | 1373 | default: |
| 1374 | bb_error_msg_and_die(_("Internal error")); | 1374 | bb_error_msg_and_die(_("internal error")); |
| 1375 | } | 1375 | } |
| 1376 | #endif /* CONFIG_FEATURE_FDISK_WRITABLE */ | 1376 | #endif /* CONFIG_FEATURE_FDISK_WRITABLE */ |
| 1377 | } | 1377 | } |
diff --git a/util-linux/switch_root.c b/util-linux/switch_root.c index f2d9b6e69..45290c942 100644 --- a/util-linux/switch_root.c +++ b/util-linux/switch_root.c | |||
| @@ -111,12 +111,12 @@ int switch_root_main(int argc, char *argv[]) | |||
| 111 | if (console) { | 111 | if (console) { |
| 112 | close(0); | 112 | close(0); |
| 113 | if(open(console, O_RDWR) < 0) | 113 | if(open(console, O_RDWR) < 0) |
| 114 | bb_error_msg_and_die("Bad console '%s'",console); | 114 | bb_error_msg_and_die("bad console '%s'",console); |
| 115 | dup2(0, 1); | 115 | dup2(0, 1); |
| 116 | dup2(0, 2); | 116 | dup2(0, 2); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | // Exec real init. (This is why we must be pid 1.) | 119 | // Exec real init. (This is why we must be pid 1.) |
| 120 | execv(argv[optind],argv+optind); | 120 | execv(argv[optind],argv+optind); |
| 121 | bb_error_msg_and_die("Bad init '%s'",argv[optind]); | 121 | bb_error_msg_and_die("bad init '%s'",argv[optind]); |
| 122 | } | 122 | } |
