Author: gschneider
Date: Tue Aug 25 01:48:57 2009
New Revision: 42930
URL:
http://svn.reactos.org/svn/reactos?rev=42930&view=rev
Log:
systeminfo: use strcmp to compare strings, gcc 4.4 warning
Modified:
trunk/rosapps/applications/sysutils/systeminfo/systeminfo.c
Modified: trunk/rosapps/applications/sysutils/systeminfo/systeminfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/syst…
==============================================================================
--- trunk/rosapps/applications/sysutils/systeminfo/systeminfo.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/systeminfo/systeminfo.c [iso-8859-1] Tue Aug 25
01:48:57 2009
@@ -356,9 +356,9 @@
/* Main program */
int
-main(int argc,char *argv[])
-{
- if (argc > 1 && argv[1] == "/?")
+main(int argc, char *argv[])
+{
+ if (argc > 1 && !strcmp(argv[1], "/?"))
{
Usage();
return 0;