chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove src/tty-ask-password-agent
[elogind.git]
/
src
/
udev
/
ata_id
/
ata_id.c
diff --git
a/src/udev/ata_id/ata_id.c
b/src/udev/ata_id/ata_id.c
index e6344f983a868a22f0b45b151597812f282c94fe..9e4f674a9e3c3fd3d107b96135f2bdf89b1b7516 100644
(file)
--- a/
src/udev/ata_id/ata_id.c
+++ b/
src/udev/ata_id/ata_id.c
@@
-34,12
+34,8
@@
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <linux/types.h>
#include <linux/hdreg.h>
#include <linux/hdreg.h>
-#include <linux/fs.h>
-#include <linux/cdrom.h>
#include <linux/bsg.h>
#include <linux/bsg.h>
-#include <arpa/inet.h>
#include "libudev.h"
#include "libudev-private.h"
#include "libudev.h"
#include "libudev-private.h"
@@
-450,8
+446,8
@@
int main(int argc, char *argv[])
break;
case 'h':
printf("Usage: ata_id [--export] [--help] <device>\n"
break;
case 'h':
printf("Usage: ata_id [--export] [--help] <device>\n"
- " --export print values as environment keys\n"
- " --help print this help text\n\n");
+ " -
x,-
-export print values as environment keys\n"
+ " -
h,-
-help print this help text\n\n");
return 0;
}
}
return 0;
}
}