lineedit: do not hang on error, but return error indicator.
[oweals/busybox.git] / util-linux / fdisk_aix.c
index 2c0d2a6ac03db579dbcf3bee08b6a7b9a9292c2a..ee5df50e5c9bf5a47383065c366f1cb556657b6d 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) Andreas Neuper, Sep 1998.
  *
- * Licensed under GPLv2, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
 typedef struct {
@@ -54,8 +54,9 @@ aix_info(void)
 static int
 check_aix_label(void)
 {
-       if (aixlabel->magic != AIX_LABEL_MAGIC &&
-               aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED) {
+       if (aixlabel->magic != AIX_LABEL_MAGIC
+        && aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED
+       ) {
                current_label_type = 0;
                aix_other_endian = 0;
                return 0;