summaryrefslogtreecommitdiffstats
path: root/fdisk/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:26:14 +0100
committerKarel Zak2006-12-07 00:26:14 +0100
commitd03dd60840f0a08464d5266539ad356aefe24b03 (patch)
tree0a9ad240a7a88eb6b11b152974a7a51a0df79b75 /fdisk/cfdisk.c
parentImported from util-linux-2.12pre tarball. (diff)
downloadkernel-qcow2-util-linux-d03dd60840f0a08464d5266539ad356aefe24b03.tar.gz
kernel-qcow2-util-linux-d03dd60840f0a08464d5266539ad356aefe24b03.tar.xz
kernel-qcow2-util-linux-d03dd60840f0a08464d5266539ad356aefe24b03.zip
Imported from util-linux-2.12a tarball.
Diffstat (limited to 'fdisk/cfdisk.c')
-rw-r--r--fdisk/cfdisk.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c
index 389e6bfc8..31ddd7e77 100644
--- a/fdisk/cfdisk.c
+++ b/fdisk/cfdisk.c
@@ -118,28 +118,6 @@ extern long long ext2_llseek(unsigned int fd, long long offset,
#define LINUX_SWAP 0x82
#define LINUX 0x83
-/* There used to be defined error messages here. However, it turns out
- * that gettext cannot handle constructions like
- *
- * #define ADD_EXISTS _("This partition is already in use")
- * ...
- * print_warning(ADD_EXISTS);
- *
- * So, now the messages are spread over the source again.
- * Another thing which gettext cannot cope with are multi-line strings:
- *
- * printf("Usage:
- * Print version:
- * cfdisk -v
- * Print partition table:
- * cfdisk -P{r|s|t} device
- * ");
- *
- * (This is a commonly used gnu extension of the C syntax, but not ANSI-C.)
- * Another reason to uglify the source a little.
- */
-
-
#define PRI_OR_LOG -1
#define PRIMARY -2
#define LOGICAL -3