- bail out if screen resolution does not match PPM dimensions.
[oweals/busybox.git] / util-linux / ipcrm.c
index a9400d1744483cb9a97771aca0ec67984bfb063a..5dcda859a9cdcc99a85c55d9615e32f8642e53ce 100644 (file)
@@ -24,7 +24,7 @@
 union semun {
        int val;
        struct semid_ds *buf;
-       unsigned short int *array;
+       unsigned short *array;
        struct seminfo *__buf;
 };
 #endif
@@ -111,7 +111,7 @@ int ipcrm_main(int argc, char **argv)
                                what = SEM;
 
                        if (remove_ids(what, argc-2, &argv[2]))
-                               fflush_stdout_and_exit(1);
+                               fflush_stdout_and_exit(EXIT_FAILURE);
                        printf("resource(s) deleted\n");
                        return 0;
                }