diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-06-03 21:52:55 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-06-03 21:52:55 -0400 |
| commit | bf22ecce1b31d11b9986fb2fac5e0e689b60b4e9 (patch) | |
| tree | 1d877f2c1d1f6e60e8eb0f605193f7af67a03327 /src/main.c | |
| parent | a01727b297ef4a98f79559b2de113eeba8c2be68 (diff) | |
| download | plymouth-bf22ecce1b31d11b9986fb2fac5e0e689b60b4e9.tar.gz plymouth-bf22ecce1b31d11b9986fb2fac5e0e689b60b4e9.tar.xz plymouth-bf22ecce1b31d11b9986fb2fac5e0e689b60b4e9.zip | |
s/int/bool/ for boolean variable
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -567,15 +567,13 @@ main (int argc, .ptmx = -1, }; int exit_code; - int asdaemon = 0; + bool asdaemon = false; if (argc >= 2 && !strcmp(argv[1], "--asdaemon")) - asdaemon = 1; + asdaemon = true; if (asdaemon && argc == 3) { - asdaemon = 1; - state.ptmx = strtol(argv[2], NULL, 0); if ((state.ptmx == LONG_MIN || state.ptmx == LONG_MAX) && errno != 0) { |
