lsscsi: fix xchdir("..") from symlink in /sys/bus/scsi/devices
[oweals/busybox.git] / libbb / warn_ignoring_args.c
index 65dea321a0959fd9240baedaca07ac8226649b1f..3f3025c03768cec211746e5ed104154dbaa10587 100644 (file)
@@ -4,14 +4,15 @@
  *
  * Copyright (C) 2003  Manuel Novoa III  <mjn3@codepoet.org>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
-
 #include "libbb.h"
 
-void FAST_FUNC bb_warn_ignoring_args(int n)
+#if ENABLE_DESKTOP
+void FAST_FUNC bb_warn_ignoring_args(char *arg)
 {
-       if (n) {
+       if (arg) {
                bb_error_msg("ignoring all arguments");
        }
 }
+#endif